Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarom Swisa authored and Yarom Swisa committed Feb 2, 2023
1 parent 4b195c0 commit ad36ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/epochstorage/keeper/stake_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func (k Keeper) AppendUnstakeEntry(ctx sdk.Context, storageType string, stakeEnt

// this stake storage entries are sorted by deadline
stakeStorage, found := k.GetStakeStorageUnstake(ctx, storageType)
entries := []types.StakeEntry{}
var entries []types.StakeEntry
if !found {
entries = []types.StakeEntry{stakeEntry}
// create a new one
Expand Down

0 comments on commit ad36ee5

Please sign in to comment.