Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 5631aa4

Browse files
committed
Suppress unused variable warnings in Confirm stub
... which cleans up the remaining warnings.
1 parent bc0f0a8 commit 5631aa4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/manager.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,19 +509,19 @@ where
509509
C::Target: Filter,
510510
{
511511
fn transactions_confirmed(
512-
&self, header: &bitcoin::block::Header, txdata: &chain::transaction::TransactionData,
513-
height: u32,
512+
&self, _header: &bitcoin::block::Header, _txdata: &chain::transaction::TransactionData,
513+
_height: u32,
514514
) {
515515
// TODO: Call transactions_confirmed on all sub-modules that require it, e.g., LSPS1MessageHandler.
516516
}
517517

518-
fn transaction_unconfirmed(&self, txid: &bitcoin::Txid) {
518+
fn transaction_unconfirmed(&self, _txid: &bitcoin::Txid) {
519519
// TODO: Call transaction_unconfirmed on all sub-modules that require it, e.g., LSPS1MessageHandler.
520520
// Internally this should call transaction_unconfirmed for all transactions that were
521521
// confirmed at a height <= the one we now unconfirmed.
522522
}
523523

524-
fn best_block_updated(&self, header: &bitcoin::block::Header, height: u32) {
524+
fn best_block_updated(&self, _header: &bitcoin::block::Header, _height: u32) {
525525
// TODO: Call best_block_updated on all sub-modules that require it, e.g., LSPS1MessageHandler.
526526
}
527527

0 commit comments

Comments
 (0)