Skip to content

Commit 5ebc76d

Browse files
committed
f silence unused warnings for now
1 parent bf8302f commit 5ebc76d

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
@@ -304,7 +304,7 @@ impl NegotiationContext {
304304
self.outputs.remove(&msg.serial_id);
305305
}
306306

307-
fn build_transaction(mut self) -> Result<Transaction, AbortReason> {
307+
fn build_transaction(self) -> Result<Transaction, AbortReason> {
308308
// The receiving node:
309309
// MUST fail the negotiation if:
310310

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)