Skip to content

Commit

Permalink
Add nakamoto into blockchain test
Browse files Browse the repository at this point in the history
This commit adds the nakamoto blockchain into the current blockchain test
frameworks. Uses a lot of feature gate and scaffolding to handle special
behaviors of CBF type backend.
  • Loading branch information
rajarshimaitra committed Oct 12, 2022
1 parent 17aad20 commit 8d6d343
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 44 deletions.
2 changes: 1 addition & 1 deletion src/blockchain/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ mod test {
let txid =
test_client.receive(testutils! { @tx ( (@addr addr) => AMOUNT_PER_TX ) });
test_client.generate(1, None);
txid
txid.txid()
})
.collect::<Vec<_>>();

Expand Down
Loading

0 comments on commit 8d6d343

Please sign in to comment.