From: Matt Corallo Date: Wed, 18 Sep 2024 22:52:39 +0000 (+0000) Subject: Fix new compilation warnings X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f12e3e487eeecf15255b03e7de3f0c4ecbcc17ca;p=rapid-gossip-sync-server Fix new compilation warnings --- diff --git a/src/lookup.rs b/src/lookup.rs index 87a35ae..ae36e95 100644 --- a/src/lookup.rs +++ b/src/lookup.rs @@ -602,7 +602,7 @@ pub(super) async fn fetch_node_updates(network_graph: Arc ChainVerifier where L::Target: } let mut transaction = block.txdata.swap_remove(transaction_index as usize); if output_index as usize >= transaction.output.len() { - log_error!(logger, "Could't find output {} in transaction {}", output_index, transaction.txid()); + log_error!(logger, "Could't find output {} in transaction {}", output_index, transaction.compute_txid()); return Err(UtxoLookupError::UnknownTx); } Ok(transaction.output.swap_remove(output_index as usize))