Fix wrong node broadcaster in test_yield_anchors_events

This commit is contained in:
Wilmer Paulino 2023-09-29 16:00:35 -07:00
parent 4a393ee540
commit fd66a298f3
No known key found for this signature in database
GPG key ID: 634FE5FC544DCA31

View 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
);