/**
* Returns the holder's channel public keys and basepoints.
*/
- struct LDKChannelPublicKeys pubkeys;
+ LDKChannelPublicKeys pubkeys;
/**
* Fill in the pubkeys field as a reference to it will be given to Rust after this returns
* Note that this takes a pointer to this object, not the this_ptr like other methods do
*/
void COption_ScalarZ_free(struct LDKCOption_ScalarZ _res);
+/**
+ * Creates a new COption_ScalarZ which has the same data as `orig`
+ * but with all dynamically-allocated buffers duplicated in new buffers.
+ */
+struct LDKCOption_ScalarZ COption_ScalarZ_clone(const struct LDKCOption_ScalarZ *NONNULL_PTR orig);
+
/**
* Creates a new CResult_SharedSecretNoneZ in the success state.
*/