Skip to content

Commit

Permalink
chore: fix test (#6318)
Browse files Browse the repository at this point in the history
Description
---
Fixes a cucumber test
  • Loading branch information
SWvheerden authored May 6, 2024
1 parent 6b21e05 commit 260d046
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions integration_tests/tests/steps/node_steps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -851,19 +851,19 @@ async fn generate_block_with_2_as_single_request_coinbases(world: &mut TariWorld
}
assert_eq!(coinbase_kernel_count, 1);
assert_eq!(coinbase_utxo_count, 2);
let mut num_6154272109 = 0;
let mut num_12308544218 = 0;
let mut num_6154266699 = 0;
let mut num_12308533399 = 0;
for output in body.outputs() {
if output.minimum_value_promise.as_u64() == 6154272109 {
num_6154272109 += 1;
if output.minimum_value_promise.as_u64() == 6154266699 {
num_6154266699 += 1;
}
if output.minimum_value_promise.as_u64() == 12308544218 {
num_12308544218 += 1;
if output.minimum_value_promise.as_u64() == 12308533399 {
num_12308533399 += 1;
}
}

assert_eq!(num_6154272109, 1);
assert_eq!(num_12308544218, 1);
assert_eq!(num_6154266699, 1);
assert_eq!(num_12308533399, 1);

match client.submit_block(new_block).await {
Ok(_) => (),
Expand Down

0 comments on commit 260d046

Please sign in to comment.