Skip to content

Commit

Permalink
Improve test for inscriptions spent as fees to catch ordinals#1841.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Martin committed Apr 9, 2023
1 parent c566985 commit 93e4572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ mod tests {
#[test]
fn fee_spent_inscriptions_are_tracked_correctly() {
for context in Context::configurations() {
context.mine_blocks(1);
context.mine_blocks(2);

let txid = context.rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(1, 0, 0)],
Expand All @@ -1602,7 +1602,7 @@ mod tests {
context.mine_blocks(1);

context.rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(2, 1, 0)],
inputs: &[(2, 0, 0), (3, 1, 0)],
fee: 50 * COIN_VALUE,
..Default::default()
});
Expand Down

0 comments on commit 93e4572

Please sign in to comment.