store: register block amino, not just crypto (#3894)

* store: register block amino, not just crypto

Fixes #3893

* update changelog
This commit is contained in:
Anton Kaliaev
2019-08-13 12:32:40 +04:00
committed by GitHub
parent 2e39418124
commit 7fe02a04db
2 changed files with 3 additions and 2 deletions

View File

@@ -2,11 +2,11 @@ package store
import (
amino "github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)
var cdc = amino.NewCodec()
func init() {
cryptoAmino.RegisterAmino(cdc)
types.RegisterBlockAmino(cdc)
}