Skip to content

Commit c79c376

Browse files
committed
f silence unused warnings for now
1 parent e20e8c6 commit c79c376

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning/src/ln/interactivetxs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ impl NegotiationContext {
299299
self.outputs.remove(&msg.serial_id);
300300
}
301301

302-
fn build_transaction(mut self) -> Result<Transaction, AbortReason> {
302+
fn build_transaction(self) -> Result<Transaction, AbortReason> {
303303
// The receiving node:
304304
// MUST fail the negotiation if:
305305

lightning/src/ln/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ mod async_signer_tests;
8282
#[cfg(test)]
8383
#[allow(unused_mut)]
8484
mod offers_tests;
85-
#[allow(unused_mut)] // TODO
85+
#[allow(dead_code)] // TODO(dual_funding): Exchange for dual_funding cfg
8686
pub(crate) mod interactivetxs;
8787

8888
pub use self::peer_channel_encryptor::LN_MAX_MSG_LEN;

0 commit comments

Comments
 (0)