- bindings updates
[rust-lightning] / lightning-c-bindings / src / chain / transaction.rs
index ff7aff7e9f5ec186a34ac8036e8d968d1c622b8a..d66709010e82b00878ea4d545f48dd354a99c2d7 100644 (file)
@@ -101,7 +101,7 @@ pub extern "C" fn OutPoint_to_channel_id(this_arg: &OutPoint) -> crate::c_types:
 }
 
 #[no_mangle]
-pub extern "C" fn OutPoint_write(obj: *const OutPoint) -> crate::c_types::derived::CVec_u8Z {
+pub extern "C" fn OutPoint_write(obj: &OutPoint) -> crate::c_types::derived::CVec_u8Z {
        crate::c_types::serialize_obj(unsafe { &(*(*obj).inner) })
 }
 #[no_mangle]