Skip to content

Commit ede06d8

Browse files
authored
Merge pull request #2332 from danielgranhao/fix/wrong-docs-link-channel-manager-send-payment
Fix wrong link in `ChannelManager::send_payment()` docs
2 parents fb140b5 + 490ab6e commit ede06d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2964,7 +2964,7 @@ where
29642964
self.send_payment_along_path(path, payment_hash, recipient_onion, total_value, cur_height, payment_id, keysend_preimage, session_priv))
29652965
}
29662966

2967-
/// Similar to [`ChannelManager::send_payment`], but will automatically find a route based on
2967+
/// Similar to [`ChannelManager::send_payment_with_route`], but will automatically find a route based on
29682968
/// `route_params` and retry failed payment paths based on `retry_strategy`.
29692969
pub fn send_payment(&self, payment_hash: PaymentHash, recipient_onion: RecipientOnionFields, payment_id: PaymentId, route_params: RouteParameters, retry_strategy: Retry) -> Result<(), RetryableSendFailure> {
29702970
let best_block_height = self.best_block.read().unwrap().height();

0 commit comments

Comments
 (0)