Revert "rename privval#GetAddress and GetPubKey to Address and PubKey"

This reverts commit 58d0c8de89bcc6c081c5b33683c2d0a4e1f83eef.
This commit is contained in:
Anton Kaliaev
2018-07-12 22:38:15 +04:00
parent 6a85aecfb7
commit 3ffda994c2
23 changed files with 120 additions and 122 deletions

View File

@ -8,7 +8,7 @@ import (
"path/filepath"
"time"
amino "github.com/tendermint/go-amino"
"github.com/tendermint/go-amino"
crypto "github.com/tendermint/tendermint/crypto"
cmn "github.com/tendermint/tendermint/libs/common"
@ -84,8 +84,8 @@ func convertPrivVal(cdc *amino.Codec, jsonBytes []byte) ([]byte, error) {
copy(pubKey[:], privVal.PubKey.Data)
privValNew := privval.FilePV{
Address_: pubKey.Address(),
PubKey_: pubKey,
Address: pubKey.Address(),
PubKey: pubKey,
LastHeight: privVal.LastHeight,
LastRound: privVal.LastRound,
LastStep: privVal.LastStep,