mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
Merge #18412: script: fix SCRIPT_ERR_SIG_PUSHONLY error string
41ff4992e5
script: fix SCRIPT_ERR_SIG_PUSHONLY error string (Sebastian Falbesoner) Pull request description: Fixes #18411, changing the error message from `"Only non-push operators allowed in signatures"` to `"Only push operators allowed in signatures"`. ACKs for top commit: laanwj: ACK41ff4992e5
Tree-SHA512: 3b75d83e2198d638d599ef6a4a8da986f0158600fe3f89f55b3759554588157acf2b0cba3f6a907164617264e7aee727d6d460b510c8b37ca7728aa79e11ad80
This commit is contained in:
commit
94d3063c93
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ const char* ScriptErrorString(const ScriptError serror)
|
|||
case SCRIPT_ERR_MINIMALDATA:
|
||||
return "Data push larger than necessary";
|
||||
case SCRIPT_ERR_SIG_PUSHONLY:
|
||||
return "Only non-push operators allowed in signatures";
|
||||
return "Only push operators allowed in signatures";
|
||||
case SCRIPT_ERR_SIG_HIGH_S:
|
||||
return "Non-canonical signature: S value is unnecessarily high";
|
||||
case SCRIPT_ERR_SIG_NULLDUMMY:
|
||||
|
|
Loading…
Reference in a new issue