Skip to content

Commit 8389256

Browse files
committed
json: Enable base64 feature
We need base64 encoding in `bitcoin` to in order to stringify the `sign_message::MessageSignature`. Note also that the `Psbt` type is encoded/decoded in base64 and we would like to support that by default also. Enable the "base64" feature unconditionally for the `json` crate.
1 parent 33293a5 commit 8389256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ path = "src/lib.rs"
2323
serde = { version = "1", features = [ "derive" ] }
2424
serde_json = "1"
2525

26-
bitcoin = { version = "0.31.0", features = ["serde", "rand-std"]}
26+
bitcoin = { version = "0.31.0", features = ["serde", "rand-std", "base64"]}

0 commit comments

Comments
 (0)