Skip to content

Commit

Permalink
corrects tx count updates to exclude coinbase txs
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Nov 22, 2024
1 parent cecbb65 commit aa5ca26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebrad/tests/common/lightwalletd/send_transaction_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub async fn run() -> Result<()> {
.await?
.into_iter()
.take_while(|block| {
count += block.transactions.len();
count += block.transactions.len() - 1;
count <= max_sent_transactions()
})
.collect();
Expand Down

0 comments on commit aa5ca26

Please sign in to comment.