mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Correct error returned when retry_payment
doesn't have a payment
This commit is contained in:
parent
928bfb12d2
commit
a58c617c42
1 changed files with 1 additions and 1 deletions
|
@ -2178,7 +2178,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return Err(PaymentSendFailure::ParameterError(APIError::APIMisuseError {
|
return Err(PaymentSendFailure::ParameterError(APIError::APIMisuseError {
|
||||||
err: "Payment with ID {} not found".to_string()
|
err: format!("Payment with ID {} not found", log_bytes!(payment_id.0)),
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue