contract/money/tests/integration: fixed failing test due to erroneous block height

This commit is contained in:
skoupidi
2024-01-30 21:35:30 +02:00
parent f64c4e5750
commit e53ea14531

View File

@@ -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");