Implement `Clone` for `SecretKey`
[ldk-c-bindings] / lightning-c-bindings / src / c_types / mod.rs
index 0bd976bac8f1e47ee75ad5995a0bf123ce8f01dd..f31d55bd1b2c7d9ec67f30552f0036d27e5b28a6 100644 (file)
@@ -67,6 +67,7 @@ impl PublicKey {
 }
 
 #[repr(C)]
+#[derive(Clone)]
 /// Represents a valid secp256k1 secret key serialized as a 32 byte array.
 pub struct SecretKey {
        /// The bytes of the secret key