Skip to content

Commit

Permalink
Update wallet/vault/vault.go
Browse files Browse the repository at this point in the history
Co-authored-by: b00f <[email protected]>
  • Loading branch information
kehiy and b00f authored Feb 20, 2024
1 parent ddc3aad commit 3a5964d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/vault/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (v *Vault) AllAccountAddresses() []AddressInfo {
addrs := make([]AddressInfo, 0, v.AddressCount()/2)

Check warning on line 236 in wallet/vault/vault.go

View check run for this annotation

Codecov / codecov/patch

wallet/vault/vault.go#L236

Added line #L236 was not covered by tests
for _, addrInfo := range v.Addresses {
addrPath, _ := addresspath.NewPathFromString(addrInfo.Path)
if addrPath.AddressType() == H(crypto.AddressTypeBLSAccount) {
if addrPath.AddressType() != H(crypto.AddressTypeValidator) {
addrs = append(addrs, addrInfo)

Check warning on line 240 in wallet/vault/vault.go

View check run for this annotation

Codecov / codecov/patch

wallet/vault/vault.go#L238-L240

Added lines #L238 - L240 were not covered by tests
}
}
Expand Down

0 comments on commit 3a5964d

Please sign in to comment.