Skip to content

Commit

Permalink
Merge pull request #7 from HaoyangLiu/branch_v0.22.6-iris1
Browse files Browse the repository at this point in the history
Hotfix: IRISHUB-304
  • Loading branch information
wukongcheng authored Sep 5, 2018
2 parents fb697db + 952ac8b commit bc9a42a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blockchain/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ package blockchain
import (
"github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)

var cdc = amino.NewCodec()

func init() {
RegisterBlockchainMessages(cdc)
cryptoAmino.RegisterAmino(cdc)
types.RegisterEvidences(cdc)
}
2 changes: 2 additions & 0 deletions consensus/types/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ package types
import (
"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.RegisterEvidences(cdc)
}
2 changes: 2 additions & 0 deletions consensus/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package consensus
import (
"github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)

var cdc = amino.NewCodec()
Expand All @@ -11,4 +12,5 @@ func init() {
RegisterConsensusMessages(cdc)
RegisterWALMessages(cdc)
cryptoAmino.RegisterAmino(cdc)
types.RegisterEvidences(cdc)
}
1 change: 1 addition & 0 deletions types/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ var cdc = amino.NewCodec()

func init() {
cryptoAmino.RegisterAmino(cdc)
RegisterEvidences(cdc)
}

0 comments on commit bc9a42a

Please sign in to comment.