Skip to content

Commit 13438a0

Browse files
authored
Merge pull request #302 from input-output-hk/prc/299-stake-address-deposit-fix
Don't debit deposits pot twice on stake refund (#299)
2 parents 973eff6 + fa54e67 commit 13438a0

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)