Skip to content

Commit

Permalink
Fix new compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Sep 18, 2024
1 parent 6aa5f49 commit f12e3e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lookup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ pub(super) async fn fetch_node_updates<L: Deref + Clone>(network_graph: Arc<Netw
latest_mutation_timestamp = None;

// this is the highest timestamp value, so set the seen timestamp accordingly
current_node_delta.latest_details.as_mut().map(|mut d| d.seen.replace(current_seen_timestamp));
current_node_delta.latest_details.as_mut().map(|d| d.seen.replace(current_seen_timestamp));
}

if let Some(last_seen_update) = current_node_delta.last_details_before_seen.as_ref() {
Expand Down
2 changes: 1 addition & 1 deletion src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl<L: Deref + Clone + Send + Sync + 'static> ChainVerifier<L> 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))
Expand Down

0 comments on commit f12e3e4

Please sign in to comment.