Browse Source

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

* store: register block amino, not just crypto

Fixes #3893

* update changelog
pull/3902/head
Anton Kaliaev 5 years ago
committed by GitHub
parent
commit
7fe02a04db
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions
  1. +1
    -0
      CHANGELOG_PENDING.md
  2. +2
    -2
      store/codec.go

+ 1
- 0
CHANGELOG_PENDING.md View File

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

+ 2
- 2
store/codec.go 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)
}

Loading…
Cancel
Save