Browse Source

fix typo

follow-up #5011
closes #5014
3.3.3.1
SomberNight 6 years ago
parent
commit
e39e2ed8f1
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/network.py

4
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:

Loading…
Cancel
Save