Skip to content

Commit

Permalink
fix: add public key on get new address
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Jun 18, 2024
1 parent e796f2d commit 5eaa5f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wallet/vault/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,10 @@ func (v *Vault) NewBLSAccountAddress(label string) (*AddressInfo, error) {

addr := blsPubKey.AccountAddress().String()
data := AddressInfo{
Address: addr,
Label: label,
Path: addresspath.NewPath(ext.Path()...).String(),
Address: addr,
Label: label,
PublicKey: blsPubKey.String(),
Path: addresspath.NewPath(ext.Path()...).String(),
}
v.Addresses[addr] = data
v.Purposes.PurposeBLS.NextAccountIndex++
Expand Down

0 comments on commit 5eaa5f6

Please sign in to comment.