@@ -1302,7 +1302,10 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
1302
1302
/// This may be used to send "pre-flight" probes, i.e., to train our scorer before conducting
1303
1303
/// the actual payment. Note this is only useful if there likely is sufficient time for the
1304
1304
/// probe to settle before sending out the actual payment, e.g., when waiting for user
1305
- /// confirmation in a wallet UI.
1305
+ /// confirmation in a wallet UI. Otherwise, there is a chance the probe could take up some
1306
+ /// liquidity needed to complete the actual payment. Users should therefore be cautious and
1307
+ /// might avoid sending probes if liquidity is scarce and/or they don't expect the probe to
1308
+ /// return before they send the payment.
1306
1309
pub fn send_payment_probe ( & self , invoice : & Bolt11Invoice ) -> Result < ( ) , Error > {
1307
1310
let rt_lock = self . runtime . read ( ) . unwrap ( ) ;
1308
1311
if rt_lock. is_none ( ) {
@@ -1340,7 +1343,10 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
1340
1343
/// This may be used to send "pre-flight" probes, i.e., to train our scorer before conducting
1341
1344
/// the actual payment. Note this is only useful if there likely is sufficient time for the
1342
1345
/// probe to settle before sending out the actual payment, e.g., when waiting for user
1343
- /// confirmation in a wallet UI.
1346
+ /// confirmation in a wallet UI. Otherwise, there is a chance the probe could take up some
1347
+ /// liquidity needed to complete the actual payment. Users should therefore be cautious and
1348
+ /// might avoid sending probes if liquidity is scarce and/or they don't expect the probe to
1349
+ /// return before they send the payment.
1344
1350
pub fn send_spontaneous_payment_probe (
1345
1351
& self , amount_msat : u64 , node_id : PublicKey ,
1346
1352
) -> Result < ( ) , Error > {
0 commit comments