github.com/devwanda/aphelion-staking@v0.33.9/consensus/codec.go (about) 1 package consensus 2 3 import ( 4 amino "github.com/evdatsion/go-amino" 5 6 "github.com/devwanda/aphelion-staking/types" 7 ) 8 9 var cdc = amino.NewCodec() 10 11 func init() { 12 RegisterMessages(cdc) 13 RegisterWALMessages(cdc) 14 types.RegisterBlockAmino(cdc) 15 }