Skip to content

Commit f118bb7

Browse files
committed
Implement Clone for InvalidShutdownScript
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.
1 parent 04d0cca commit f118bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/script.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use io;
2121
pub struct ShutdownScript(ShutdownScriptImpl);
2222

2323
/// An error occurring when converting from [`Script`] to [`ShutdownScript`].
24-
#[derive(Debug)]
24+
#[derive(Clone, Debug)]
2525
pub struct InvalidShutdownScript {
2626
/// The script that did not meet the requirements from [BOLT #2].
2727
///

0 commit comments

Comments
 (0)