commit e39e2ed8f13b543c1c56a90b9b8465bc6d9571a3
parent c995d5364e47fc14b4d43dbfb940168be2eeabc9
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 19 Jan 2019 17:50:22 +0100
fix typo
follow-up #5011
closes #5014
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/network.py b/electrum/network.py
@@ -781,14 +781,14 @@ class Network(PrintError):
# https://github.com/bitcoin/bitcoin/blob/cd42553b1178a48a16017eff0b70669c84c3895c/src/policy/policy.cpp
# grep "reason ="
policy_error_messages = {
- r"version": None,
+ r"version": _("Transaction uses non-standard version."),
r"tx-size": _("The transaction was rejected because it is too large."),
r"scriptsig-size": None,
r"scriptsig-not-pushonly": None,
r"scriptpubkey": None,
r"bare-multisig": None,
r"dust": _("Transaction could not be broadcast due to dust outputs."),
- r"multi-op-return": _("The transaction was rejected because it contains more than 1 OP_RETURN input."),
+ r"multi-op-return": _("The transaction was rejected because it contains multiple OP_RETURN outputs."),
}
for substring in policy_error_messages:
if substring in server_msg: