3c0d5aed73
This new method will check the last witness element to see if it starts with 0x50, and depending on the result it will return the second to last or third to last witness element according to BIP341. In its current state, Witness can not know what type of script it is fulfilling, so it is up to the caller to verify if the previous output is a taproot output or not. |
||
---|---|---|
.. | ||
contrib | ||
examples | ||
src | ||
tests | ||
Cargo.toml |