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 (route, payment_hash, _, payment_secret) = get_route_and_payment_hash!(nodes[1], nodes[0], 330_000);
9584
+
if let Err(_) = nodes[1].node.send_payment(&route, payment_hash, &Some(payment_secret)) { panic!("Unexpected event"); }
9585
+
}
9586
+
let (route, payment_hash, _, payment_secret) = get_route_and_payment_hash!(nodes[1], nodes[0], 330_000);
9587
+
let mut config = UserConfig::default();
9588
+
unwrap_send_err!(nodes[1].node.send_payment(&route, payment_hash, &Some(payment_secret)), true, APIError::ChannelUnavailable { ref err }, assert_eq!(err, &format!("Cannot send value that would put holder dusted balance on counterparty commitment over limit {}", config.channel_options.max_outbound_dusted_htlc_msat)));
9589
+
let _ = nodes[1].node.get_and_clear_pending_msg_events();
9590
+
let mut added_monitors = nodes[1].chain_monitor.added_monitors.lock().unwrap();
0 commit comments