mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
store: register block amino, not just crypto (#3894)
* store: register block amino, not just crypto Fixes #3893 * update changelog
This commit is contained in:
parent
2e39418124
commit
7fe02a04db
@ -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
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user