From 12166fbd04044e6374725b3bc730c2b0c0546b45 Mon Sep 17 00:00:00 2001 From: kukkok3 <93382903+kukkok3@users.noreply.github.com> Date: Mon, 27 Nov 2023 13:20:43 +0100 Subject: [PATCH] fix: tests --- integration-tests/src/common/mainnet.rs | 4 ++-- integration-tests/src/common/vote_plan_status.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/src/common/mainnet.rs b/integration-tests/src/common/mainnet.rs index e69d8110..c98be55f 100644 --- a/integration-tests/src/common/mainnet.rs +++ b/integration-tests/src/common/mainnet.rs @@ -43,8 +43,8 @@ impl MainnetWallet { CatalystRegistration { stake_public_key: self.stake_public_key(), voting_power: self.stake.into(), - reward_address: self.reward_address(), - voting_public_key: self.inner.identifier().into(), + rewards_address: self.reward_address(), + delegations: self.inner.identifier().into(), } } diff --git a/integration-tests/src/common/vote_plan_status.rs b/integration-tests/src/common/vote_plan_status.rs index 1017e247..8057328e 100644 --- a/integration-tests/src/common/vote_plan_status.rs +++ b/integration-tests/src/common/vote_plan_status.rs @@ -32,7 +32,7 @@ impl VotePlanStatusProvider for Block0Configuration { for vote in votes { for vote_plan in active_vote_plan.iter_mut() { - if let Some(mut proposal) = vote_plan + if let Some(proposal) = vote_plan .proposals .iter_mut() .find(|p| p.proposal_id == vote.proposal_id)