Skip to content

Commit 94d3063

Browse files
author
MarcoFalke
committed
Merge #18412: script: fix SCRIPT_ERR_SIG_PUSHONLY error string
41ff499 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: ACK 41ff499 Tree-SHA512: 3b75d83e2198d638d599ef6a4a8da986f0158600fe3f89f55b3759554588157acf2b0cba3f6a907164617264e7aee727d6d460b510c8b37ca7728aa79e11ad80
2 parents 23991ee + 41ff499 commit 94d3063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/script_error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const char* ScriptErrorString(const ScriptError serror)
5858
case SCRIPT_ERR_MINIMALDATA:
5959
return "Data push larger than necessary";
6060
case SCRIPT_ERR_SIG_PUSHONLY:
61-
return "Only non-push operators allowed in signatures";
61+
return "Only push operators allowed in signatures";
6262
case SCRIPT_ERR_SIG_HIGH_S:
6363
return "Non-canonical signature: S value is unnecessarily high";
6464
case SCRIPT_ERR_SIG_NULLDUMMY:

0 commit comments

Comments
 (0)