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:
decoderawtransaction "0a9a9e0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010100000000010001010101a09a"
Obs.: Running same command on Bitcoin Core fails.
Using the
decoderawtransactioncommand (btcDecodefunction?) 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.