06ca0651b6
Previously an empty script wouldn't be hashed, and CScriptID would be
assigned the incorrect value of 0 instead. This bug can be seen in the
RPC decodescript command:
$ btc decodescript ""
{
"asm" : "",
"type" : "nonstandard",
"p2sh" : "31h1vYVSYuKP6AhS86fbRdMw9XHieotbST"
}
Correct output:
$ btc decodescript ""
{
"asm" : "",
"type" : "nonstandard",
"p2sh" : "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
}
Rebased-From:
|
||
---|---|---|
.. | ||
bitcoinconsensus.cpp | ||
bitcoinconsensus.h | ||
interpreter.cpp | ||
interpreter.h | ||
script_error.cpp | ||
script_error.h | ||
script.cpp | ||
script.h | ||
sigcache.cpp | ||
sigcache.h | ||
sign.cpp | ||
sign.h | ||
standard.cpp | ||
standard.h |