]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Remove unused feeest field in ChannelManager tests 2018-08-fuzz-fixes-7
authorMatt Corallo <git@bluematt.me>
Thu, 30 Aug 2018 19:10:23 +0000 (15:10 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 30 Aug 2018 19:11:16 +0000 (15:11 -0400)
src/ln/channelmanager.rs

index dc7ac2a816106a1bd2919cc8587615d6237c7245..6a0e55a2c8a601bb778188a7c07befb333d73647 100644 (file)
@@ -2274,7 +2274,6 @@ mod tests {
        }
 
        struct Node {
-               feeest: Arc<test_utils::TestFeeEstimator>,
                chain_monitor: Arc<chaininterface::ChainWatchInterfaceUtil>,
                tx_broadcaster: Arc<test_utils::TestBroadcaster>,
                chan_monitor: Arc<test_utils::TestChannelMonitor>,
@@ -2827,7 +2826,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, router });
+                       nodes.push(Node { chain_monitor, tx_broadcaster, chan_monitor, node, router });
                }
 
                nodes