projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d0cca
)
Implement Clone for InvalidShutdownScript
2021-11-trivial-impls
author
Matt Corallo
<git@bluematt.me>
Tue, 19 Oct 2021 06:20:12 +0000
(06:20 +0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 29 Nov 2021 01:30:50 +0000
(
01:30
+0000)
Users hopefully shouldn't have much of a reason to use this, but
the bindings may need it to ensure no leaking pointers over an ffi.
lightning/src/ln/script.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/script.rs
b/lightning/src/ln/script.rs
index 0c060e4523374b71f569c5a4338d617177dfe6ba..a9f44bae1aec79199230d467f426b50934c225dd 100644
(file)
--- a/
lightning/src/ln/script.rs
+++ b/
lightning/src/ln/script.rs
@@
-21,7
+21,7
@@
use io;
pub struct ShutdownScript(ShutdownScriptImpl);
/// An error occurring when converting from [`Script`] to [`ShutdownScript`].
-#[derive(Debug)]
+#[derive(
Clone,
Debug)]
pub struct InvalidShutdownScript {
/// The script that did not meet the requirements from [BOLT #2].
///