mirror of https://github.com/bitcoin/bitcoin
This check is already done by the rpc parser. Re-doing it is adding dead code. Instead, throwing an exception when the assumption does not hold is the already correct behavior. To make the fuzz test more accurate and not swallow all runtime errors, add a check that the passed in UniValue sighash argument is either a string or null. Co-authored-by: stickies-v <stickies-v@protonmail.com>pull/28162/head
parent
0b47c16215
commit
06199a995f
Loading…
Reference in new issue