Fix handling of failed transaction broadcast
This commit is contained in:
parent
f4cc1e2926
commit
06693c5880
@ -377,7 +377,7 @@ class ElectrumX(SessionBase):
|
||||
try:
|
||||
return await self.transaction_broadcast(raw_tx)
|
||||
except RPCError as e:
|
||||
message, = e.args
|
||||
message = e.message
|
||||
if 'non-mandatory-script-verify-flag' in message:
|
||||
message = (
|
||||
'Your client produced a transaction that is not accepted '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user