From 14c14c02880dd8eb89a6a59b745e9272e5e88e98 Mon Sep 17 00:00:00 2001 From: Herr Seppia Date: Sat, 31 Aug 2024 14:43:49 +0200 Subject: [PATCH] rusk-recovery: use `locked` field for `StakeAmount` --- rusk-recovery/src/state.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rusk-recovery/src/state.rs b/rusk-recovery/src/state.rs index fa57461e82..02db2128ee 100644 --- a/rusk-recovery/src/state.rs +++ b/rusk-recovery/src/state.rs @@ -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 {