]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix wrong node broadcaster in test_yield_anchors_events
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 29 Sep 2023 23:00:35 +0000 (16:00 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 29 Sep 2023 23:28:22 +0000 (16:28 -0700)
lightning/src/ln/monitor_tests.rs

index 30aa96557d175d3efe3314a0e46d3e76a6fd90e0..0399ed38251ba7bc155af80323add37b86c9eef2 100644 (file)
@@ -2222,7 +2222,7 @@ fn test_yield_anchors_events() {
                &LowerBoundedFeeEstimator::new(node_cfgs[0].fee_estimator), &nodes[0].logger
        );
        get_monitor!(nodes[1], chan_id).provide_payment_preimage(
-               &payment_hash_1, &payment_preimage_1, &node_cfgs[0].tx_broadcaster,
+               &payment_hash_1, &payment_preimage_1, &node_cfgs[1].tx_broadcaster,
                &LowerBoundedFeeEstimator::new(node_cfgs[1].fee_estimator), &nodes[1].logger
        );