Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt committed Nov 1, 2024
1 parent ce4948c commit a35bdda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/sequencer/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ func InitGenesis(ctx sdk.Context, k *keeper.Keeper, genState types.GenesisState)

for _, elem := range genState.SequencerList {
k.SetSequencer(ctx, elem)
k.SetSequencerByDymintAddr(ctx, elem.MustProposerAddr(), elem.Address)
if err := k.SetSequencerByDymintAddr(ctx, elem.MustProposerAddr(), elem.Address); err != nil {
panic(err)
}
}

for _, s := range genState.NoticeQueue {
Expand Down

0 comments on commit a35bdda

Please sign in to comment.