You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let unknown_scid_err = nodes[1].node.forward_intercepted_htlc(intercept_id,4242, expected_outbound_amount_msat).unwrap_err();
1461
+
let unknown_scid_err = nodes[1].node.forward_intercepted_htlc(intercept_id,4242,nodes[2].node.get_our_node_id(),expected_outbound_amount_msat).unwrap_err();
1462
1462
assert_eq!(unknown_scid_err,APIError::APIMisuseError{ err:"Channel with short channel id 4242 not found".to_string()});
1463
1463
1464
1464
// Open the just-in-time channel so the payment can then be forwarded.
1465
1465
let scid = create_announced_chan_between_nodes(&nodes,1,2, channelmanager::provided_init_features(), channelmanager::provided_init_features()).0.contents.short_channel_id;
1466
1466
1467
1467
// Check for unknown intercept id error.
1468
1468
let unknown_intercept_id = InterceptId([42;32]);
1469
-
let unknown_intercept_id_err = nodes[1].node.forward_intercepted_htlc(unknown_intercept_id, scid, expected_outbound_amount_msat).unwrap_err();
1469
+
let unknown_intercept_id_err = nodes[1].node.forward_intercepted_htlc(unknown_intercept_id, scid,nodes[2].node.get_our_node_id(),expected_outbound_amount_msat).unwrap_err();
1470
1470
assert_eq!(unknown_intercept_id_err ,APIError::APIMisuseError{ err: format!("Payment with intercept id {:?} not found", unknown_intercept_id.0)});
1471
1471
1472
1472
// Finally, forward the intercepted payment through and claim it.
0 commit comments