Skip to content

Commit

Permalink
fixes new bug in send_transaction_test
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Nov 22, 2024
1 parent 7a5f323 commit 0ecf779
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zebrad/tests/common/lightwalletd/send_transaction_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ pub async fn run() -> Result<()> {
let sleep_until_lwd_last_mempool_refresh =
tokio::time::sleep(std::time::Duration::from_secs(4));

let transactions = &block.transactions;
let transactions: Vec<_> = block
.transactions
.iter()
.filter(|tx| !tx.is_coinbase())
.collect();

let transaction_hashes: Vec<transaction::Hash> =
transactions.iter().map(|tx| tx.hash()).collect();
Expand Down

0 comments on commit 0ecf779

Please sign in to comment.