aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-03-26 12:34:17 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-03-26 12:34:27 -0400
commit94d3063c93b2e3f2081b0b10385ac71ce29eb06e (patch)
treef5d9a318357eb5ae6549dd89edd2d736bd47c618 /src
parent23991ee53af21c2fdc28f6e8e002dc1455c71098 (diff)
parent41ff4992e57f8626019c0b2ab3d024db71e4c20f (diff)
downloadbitcoin-94d3063c93b2e3f2081b0b10385ac71ce29eb06e.tar.xz
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')
-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 9d7deffc78..ff521d5860 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: