X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Fln%2Freorg_tests.rs;fp=lightning%2Fsrc%2Fln%2Freorg_tests.rs;h=a1051f5d6c2344caa3152598232f01a4f5e5226f;hb=3670dd086ca43295d186d3b957fa99a9d1c458f0;hp=a5b5ebc3c0e7657faeb6899bb323c314f319c55d;hpb=f952cc27d6d1c3e356ea46a5f63beec1f4105db9;p=rust-lightning diff --git a/lightning/src/ln/reorg_tests.rs b/lightning/src/ln/reorg_tests.rs index a5b5ebc3..a1051f5d 100644 --- a/lightning/src/ln/reorg_tests.rs +++ b/lightning/src/ln/reorg_tests.rs @@ -28,7 +28,8 @@ fn do_test_onchain_htlc_reorg(local_commitment: bool, claim: bool) { // // We then either allow these transactions to confirm (if !claim) or we wait until one block // before they otherwise would and reorg them out, confirming an HTLC-Success tx instead. - let node_cfgs = create_node_cfgs(3); + let chanmon_cfgs = create_chanmon_cfgs(3); + let node_cfgs = create_node_cfgs(3, &chanmon_cfgs); let node_chanmgrs = create_node_chanmgrs(3, &node_cfgs, &[None, None, None]); let nodes = create_network(3, &node_cfgs, &node_chanmgrs);