Skip to content

Commit fa54e67

Browse files
committed
Don't debit deposits pot twice on stake refund
1 parent 422d6f9 commit fa54e67

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/accounts_state/src/state.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,6 @@ impl State {
837837
.unwrap_or(DEFAULT_KEY_DEPOSIT)
838838
}
839839
};
840-
self.pots.deposits -= deposit;
841840

842841
// Schedule refund
843842
self.stake_refunds.push((stake_address.clone(), deposit));

0 commit comments

Comments
 (0)