Skip to content

Commit

Permalink
Add another comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Sep 19, 2023
1 parent 90efaf7 commit ff51e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staking/app/StakeConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ export class StakeConnection {
this.config.unlockingDuration
) === wasm.PositionState.UNLOCKED
)
.reverse();
.reverse(); // reverse so that earlier deletions don't affect later ones

return await Promise.all(
unlockedPositions.map((position) =>
Expand Down

0 comments on commit ff51e15

Please sign in to comment.