mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-15 14:21:22 +00:00
P2P now works with Amino
This commit is contained in:
11
p2p/pex/wire.go
Normal file
11
p2p/pex/wire.go
Normal file
@ -0,0 +1,11 @@
|
||||
package pex
|
||||
|
||||
import (
|
||||
"github.com/tendermint/go-amino"
|
||||
)
|
||||
|
||||
var cdc *amino.Codec = amino.NewCodec()
|
||||
|
||||
func init() {
|
||||
RegisterPexMessage(cdc)
|
||||
}
|
Reference in New Issue
Block a user