From: Matt Corallo Date: Fri, 24 Aug 2018 20:48:24 +0000 (-0400) Subject: Remove unused node_id tracking in ChannelManager tests X-Git-Tag: v0.0.12~339^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=32e2f7eef56bbeece93173a73564174c53edd88f;p=rust-lightning Remove unused node_id tracking in ChannelManager tests --- diff --git a/src/ln/channelmanager.rs b/src/ln/channelmanager.rs index 20e6f3739..a360c376a 100644 --- a/src/ln/channelmanager.rs +++ b/src/ln/channelmanager.rs @@ -2256,7 +2256,6 @@ mod tests { chain_monitor: Arc, tx_broadcaster: Arc, chan_monitor: Arc, - node_id: SecretKey, node: Arc, router: Router, } @@ -2803,7 +2802,7 @@ mod tests { }; let node = ChannelManager::new(node_id.clone(), 0, true, Network::Testnet, feeest.clone(), chan_monitor.clone(), chain_monitor.clone(), tx_broadcaster.clone(), Arc::clone(&logger)).unwrap(); let router = Router::new(PublicKey::from_secret_key(&secp_ctx, &node_id), Arc::clone(&logger)); - nodes.push(Node { feeest, chain_monitor, tx_broadcaster, chan_monitor, node_id, node, router }); + nodes.push(Node { feeest, chain_monitor, tx_broadcaster, chan_monitor, node, router }); } nodes