Skip to content

Commit

Permalink
fix: bitcoind_forking_test assertions added
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Jul 20, 2021
1 parent 1df0457 commit 954c707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testnet/stacks-node/src/tests/neon_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1317,14 +1317,14 @@ fn bitcoind_forking_test() {

let account = get_account(&http_origin, &miner_account);
assert_eq!(account.balance, 0);
assert_eq!(account.nonce, 2);
assert_eq!(account.nonce, 3);

next_block_and_wait(&mut btc_regtest_controller, &blocks_processed);

let account = get_account(&http_origin, &miner_account);
assert_eq!(account.balance, 0);
// but we're able to keep on mining
assert_eq!(account.nonce, 3);
assert_eq!(account.nonce, 4);

channel.stop_chains_coordinator();
}
Expand Down

0 comments on commit 954c707

Please sign in to comment.