Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed May 3, 2024
1 parent 384dbce commit 5cc8070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/fbridge/keeper/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState {
return &types.GenesisState{
SendingState: types.SendingState{
NextSeq: k.GetNextSequence(ctx),
SeqToBlocknum: k.GetAllSeqToBlocknums(ctx),
SeqToBlocknum: k.getAllSeqToBlocknums(ctx),

Check warning on line 23 in x/fbridge/keeper/genesis.go

View check run for this annotation

Codecov / codecov/patch

x/fbridge/keeper/genesis.go#L22-L23

Added lines #L22 - L23 were not covered by tests
},
}
}

func (k Keeper) GetAllSeqToBlocknums(ctx sdk.Context) []types.BlockSeqInfo {
func (k Keeper) getAllSeqToBlocknums(ctx sdk.Context) []types.BlockSeqInfo {
infos := make([]types.BlockSeqInfo, 0)
store := ctx.KVStore(k.storeKey)
iterator := sdk.KVStorePrefixIterator(store, types.KeySeqToBlocknumPrefix)
Expand Down

0 comments on commit 5cc8070

Please sign in to comment.