Open brunoerg opened 3 months ago
Thanks for reporting, we can address this. Seems like just an API mismatch (discarding the extra bytes vs erroring) though I think we should match bitcoind's behavior here.
Thanks for reporting, we can address this. Seems like just an API mismatch (discarding the extra bytes vs erroring) though I think we should match bitcoind's behavior here.
Sounds good, thank you.
Using the
decoderawtransaction
command (btcDecode
function?) we noticed that it does not check if the entire input was successfully consumed when decoding which is important to keep it consistent.To reproduce:
Obs.: Running same command on Bitcoin Core fails.