From e53ea145315e324250e2d45871d36b08c3d30baf Mon Sep 17 00:00:00 2001 From: skoupidi Date: Tue, 30 Jan 2024 21:35:30 +0200 Subject: [PATCH] contract/money/tests/integration: fixed failing test due to erroneous block height --- src/contract/money/tests/integration.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/contract/money/tests/integration.rs b/src/contract/money/tests/integration.rs index 58f20ff6c..b18dbe42e 100644 --- a/src/contract/money/tests/integration.rs +++ b/src/contract/money/tests/integration.rs @@ -33,7 +33,7 @@ fn money_integration() -> Result<()> { let mut th = TestHarness::new(&["money".to_string()], true).await?; // Block height to verify against - let mut current_block_height = 1; + let current_block_height = 1; // Drop some money to Alice info!("[Alice] Building block proposal"); @@ -56,7 +56,6 @@ fn money_integration() -> Result<()> { assert!(alice_owncoin.note.value == expected_reward(current_block_height)); th.assert_trees(&HOLDERS); - current_block_height += 1; // And some to Bob info!("[Bob] Building block proposal");