From bd973e51e11cd1e7c6de5601e9376f394b4cd301 Mon Sep 17 00:00:00 2001 From: Roy Yang Date: Mon, 2 Dec 2024 12:20:20 +1300 Subject: [PATCH] Minor adjustment to address PR review comment --- .../electoral_systems/tests/delta_based_ingress.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/state-chain/pallets/cf-elections/src/electoral_systems/tests/delta_based_ingress.rs b/state-chain/pallets/cf-elections/src/electoral_systems/tests/delta_based_ingress.rs index b97ff18e0c..48733cffad 100644 --- a/state-chain/pallets/cf-elections/src/electoral_systems/tests/delta_based_ingress.rs +++ b/state-chain/pallets/cf-elections/src/electoral_systems/tests/delta_based_ingress.rs @@ -698,18 +698,18 @@ fn pending_ingresses_update_with_consensus() { block_number: 500u64, close_block: 1_000u64, }; - let deposit_channel_pending_updated_block = DepositChannel { + let deposit_channel_pending_updated_amount = DepositChannel { account: 1u32, asset: Asset::Sol, - total_ingressed: 1_000u64, - block_number: 499u64, + total_ingressed: 999u64, + block_number: 500u64, close_block: 1_000u64, }; - let deposit_channel_pending_updated_amount = DepositChannel { + let deposit_channel_pending_updated_block = DepositChannel { account: 1u32, asset: Asset::Sol, - total_ingressed: 999u64, - block_number: 500u64, + total_ingressed: 1_000u64, + block_number: 499u64, close_block: 1_000u64, }; let deposit_channel_pending_consensus = DepositChannel {