Closed crisdut closed 1 year ago
Hi @dr-orlovsky,
I tried use baid58 parse to TapretCommitment and received the follow error:
running 1 test thread 'tapret::tapscript::test::commiment_serialization' panicked at 'exact size match: Decode(Io(Kind(InvalidInput)))', dbc/src/tapret/tapscript.rs:66:10
Test Code
#[test] pub fn tapret_commitment_baid58() { let commitment = commitment(); let _ = TapretCommitment::from_baid58(commitment.to_baid58()).unwrap(); }
This was caused by a bug in strict encoding: https://github.com/strict-types/strict-encoding/pull/13
Fixed in #39
Hi @dr-orlovsky,
I tried use baid58 parse to TapretCommitment and received the follow error:
Test Code