projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0530a
)
Add `(C-not exported)` tag to a `Payee` modifier with move semantics
author
Matt Corallo
<git@bluematt.me>
Mon, 1 Nov 2021 04:23:30 +0000
(
04:23
+0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 2 Nov 2021 20:50:42 +0000
(20:50 +0000)
This matches the other `Payee` move-modifier functions.
lightning/src/routing/router.rs
patch
|
blob
|
history
diff --git
a/lightning/src/routing/router.rs
b/lightning/src/routing/router.rs
index 6caba67785ed9ae1175274469a5aeeb1338b5d4e..974ae74e4960f0c636670f721106aa4cb8d87d53 100644
(file)
--- a/
lightning/src/routing/router.rs
+++ b/
lightning/src/routing/router.rs
@@
-232,6
+232,8
@@
impl Payee {
}
/// Includes a payment expiration in seconds relative to the UNIX epoch.
+ ///
+ /// (C-not exported) since bindings don't support move semantics
pub fn with_expiry_time(self, expiry_time: u64) -> Self {
Self { expiry_time: Some(expiry_time), ..self }
}