make non-nil genesis state

master
michael 2022-08-27 23:29:39 +00:00
parent ef35b58e10
commit cd568abd9c
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ const DefaultIndex uint64 = 1
// DefaultGenesis returns the default Capability genesis state // DefaultGenesis returns the default Capability genesis state
func DefaultGenesis() *GenesisState { func DefaultGenesis() *GenesisState {
return &GenesisState{ return &GenesisState{
NextAuction: nil, NextAuction: &NextAuction{AuctionId: 0},
AuctionList: []Auction{}, AuctionList: []Auction{},
// this line is used by starport scaffolding # genesis/types/default // this line is used by starport scaffolding # genesis/types/default
Params: DefaultParams(), Params: DefaultParams(),