Skip to content

Commit

Permalink
rusk-recovery: use locked field for StakeAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Aug 31, 2024
1 parent 51cbdea commit 14c14c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rusk-recovery/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ fn generate_stake_state(
let amount = (staker.amount > 0).then(|| StakeAmount {
value: staker.amount,
eligibility: staker.eligibility.unwrap_or_default(),
locked: 0,
});

let stake = StakeData {
Expand Down

0 comments on commit 14c14c0

Please sign in to comment.