fix: In dbKeybase.writeInfo, if replacing a name entry, remove the lookup by the old address #2685
53.33% of diff hit (within 10.00% threshold of 60.22%)
View this Pull Request on Codecov
53.33% of diff hit (within 10.00% threshold of 60.22%)
Annotations
Check warning on line 130 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L130
Added line #L130 was not covered by tests
Check warning on line 138 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L138
Added line #L138 was not covered by tests
Check warning on line 484 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L484
Added line #L484 was not covered by tests
Check warning on line 492 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L492
Added line #L492 was not covered by tests
Check warning on line 500 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L500
Added line #L500 was not covered by tests
Check warning on line 505 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L505
Added line #L505 was not covered by tests
Check warning on line 508 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L507-L508
Added lines #L507 - L508 were not covered by tests
Check warning on line 510 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L510
Added line #L510 was not covered by tests
Check warning on line 521 in tm2/pkg/crypto/keys/keybase.go
codecov / codecov/patch
tm2/pkg/crypto/keys/keybase.go#L521
Added line #L521 was not covered by tests