aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_bind.py
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-04-04 17:18:57 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-04-04 17:30:24 -0700
commit88430cbab4dca36b6a867364cab319cde6a9ebca (patch)
treec5c687eb1633b3068b87ec2a9f90905745d07de5 /test/functional/rpc_bind.py
parentbfaed1ab2ec7fb3a1a6a7ed0b84503c2ed461c67 (diff)
parent1e747e3c1e04a38c5ed6e8f8cd14077b8b7377c9 (diff)
Merge #12167: Make segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTACK error code
1e747e3c1e Make segwit failure due to CLEANSTACK violation return a SCRIPT_ERR_CLEANSTACK error code. (Mark Friedenbach) Pull request description: If a segwit script terminates with a stack size not equal to one, the current error code is EVAL_FALSE. This is semantically wrong, and prevents explicitly checking CLEANSTACK violations in the unit tests. This PR changes the error code (and affected unit tests) to use SCRIPT_ERROR_CLEANSTACK instead of SCRIPT_ERROR_EVAL_FALSE. Tree-SHA512: 8f7b1650f7a23a942cde1070e3e56420be456b4a7be42515b237e95557bf2bd5e7ba9aabd213c8092bea28c165dbe73f5a3486300089aeb01e698151b42484b1
Diffstat (limited to 'test/functional/rpc_bind.py')
0 files changed, 0 insertions, 0 deletions