Browse Source

Fix missing PublicKey on Block

xno
codesoap 9 months ago
parent
commit
94344b05b8
  1. 1
      account.go

1
account.go

@ -124,6 +124,7 @@ func (a Account) verifyInfo(info AccountInfo, node string) error { @@ -124,6 +124,7 @@ func (a Account) verifyInfo(info AccountInfo, node string) error {
if info.Error != "" {
return fmt.Errorf("could not get block info: %s", info.Error)
}
block.Contents.PublicKey = a.PublicKey
if err = block.Contents.hash(); err != nil {
return err
}

Loading…
Cancel
Save