Skip to content

Commit

Permalink
fix psbt
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoerg committed Jun 18, 2024
1 parent 3fc8ace commit 287d566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust_bitcoin_lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub unsafe extern "C" fn rust_bitcoin_psbt(data: *const u8, len: usize) -> *mut
err.to_string().starts_with("bitcoin consensus encoding error") {
return str_to_c_string(&err.to_string());
}
str_to_c_string("")
str_to_c_string("0")
},
Ok(_) => str_to_c_string("1"),
}
Expand Down

0 comments on commit 287d566

Please sign in to comment.