github.com/phillinzzz/newBsc@v1.1.6/core/vm/lightclient/wire.go (about)

     1  package lightclient
     2  
     3  import (
     4  	"github.com/tendermint/go-amino"
     5  	cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
     6  )
     7  
     8  type Codec = amino.Codec
     9  
    10  var Cdc *Codec
    11  
    12  func init() {
    13  	cdc := amino.NewCodec()
    14  	cryptoAmino.RegisterAmino(cdc)
    15  	Cdc = cdc.Seal()
    16  }