aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-03-26 12:34:17 -0400
committerMarcoFalke <[email protected]>2020-03-26 12:34:27 -0400
commit94d3063c93b2e3f2081b0b10385ac71ce29eb06e (patch)
treef5d9a318357eb5ae6549dd89edd2d736bd47c618 /src/script/script_error.cpp
parentMerge #15600: lockedpool: When possible, use madvise to avoid including sensi... (diff)
parentscript: fix SCRIPT_ERR_SIG_PUSHONLY error string (diff)
downloaddiscoin-94d3063c93b2e3f2081b0b10385ac71ce29eb06e.tar.xz
discoin-94d3063c93b2e3f2081b0b10385ac71ce29eb06e.zip
Merge #18412: script: fix SCRIPT_ERR_SIG_PUSHONLY error string
41ff4992e57f8626019c0b2ab3d024db71e4c20f 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 41ff4992e57f8626019c0b2ab3d024db71e4c20f Tree-SHA512: 3b75d83e2198d638d599ef6a4a8da986f0158600fe3f89f55b3759554588157acf2b0cba3f6a907164617264e7aee727d6d460b510c8b37ca7728aa79e11ad80
Diffstat (limited to 'src/script/script_error.cpp')
-rw-r--r--src/script/script_error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_error.cpp b/src/script/script_error.cpp
index 9d7deffc7..ff521d586 100644
--- a/src/script/script_error.cpp
+++ b/src/script/script_error.cpp
@@ -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: