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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -26,3 +26,4 @@ program](https://hackerone.com/tendermint).
### BUG FIXES: ### BUG FIXES:
- [config] \#3868 move misplaced `max_msg_bytes` into mempool section - [config] \#3868 move misplaced `max_msg_bytes` into mempool section
- [store] \#3893 register block amino, not just crypto

View File

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