mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 09:45:18 +00:00
13 lines
325 B
Go
13 lines
325 B
Go
|
package v18de63
|
||
|
|
||
|
import (
|
||
|
"github.com/cosmos/cosmos-sdk/codec"
|
||
|
)
|
||
|
|
||
|
// RegisterCodec registers concrete types on the codec
|
||
|
func RegisterCodec(cdc *codec.Codec) {
|
||
|
cdc.RegisterInterface((*GenesisAccount)(nil), nil)
|
||
|
cdc.RegisterInterface((*Account)(nil), nil)
|
||
|
cdc.RegisterConcrete(&BaseAccount{}, "cosmos-sdk/Account", nil)
|
||
|
}
|