projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
928bfb1
)
Correct error returned when `retry_payment` doesn't have a payment
2021-10-init-fail-payment-retry-leak
author
Matt Corallo
<git@bluematt.me>
Tue, 5 Oct 2021 22:28:32 +0000
(22:28 +0000)
committer
Matt Corallo
<git@bluematt.me>
Thu, 7 Oct 2021 22:27:58 +0000
(22:27 +0000)
lightning/src/ln/channelmanager.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/channelmanager.rs
b/lightning/src/ln/channelmanager.rs
index ad8603312fc714243a4129acf381d5b4a7332224..152de61fd8e56719f116393c44f55c9144773b36 100644
(file)
--- a/
lightning/src/ln/channelmanager.rs
+++ b/
lightning/src/ln/channelmanager.rs
@@
-2178,7
+2178,7
@@
impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
}
} else {
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)),
}))
}
};