fix addresses

This commit is contained in:
Ethan Buchman
2018-04-07 23:13:41 +03:00
parent bb9b12d67a
commit c778d7f5d1
6 changed files with 6 additions and 9 deletions

View File

@@ -85,7 +85,7 @@ func convertPrivVal(cdc *amino.Codec, jsonBytes []byte) ([]byte, error) {
copy(pubKey[:], privVal.PubKey.Data)
privValNew := priv_val.FilePV{
Address: privVal.Address,
Address: pubKey.Address(),
PubKey: pubKey,
LastHeight: privVal.LastHeight,
LastRound: privVal.LastRound,