parent
acb18155d0
commit
55e060c318
@ -438,7 +438,7 @@ class ElectrumX(SessionBase):
|
|||||||
try:
|
try:
|
||||||
return await self.transaction_broadcast(raw_tx)
|
return await self.transaction_broadcast(raw_tx)
|
||||||
except RPCError as e:
|
except RPCError as e:
|
||||||
message = e.msg
|
message = e.message
|
||||||
if 'non-mandatory-script-verify-flag' in message:
|
if 'non-mandatory-script-verify-flag' in message:
|
||||||
message = (
|
message = (
|
||||||
'Your client produced a transaction that is not accepted '
|
'Your client produced a transaction that is not accepted '
|
||||||
@ -578,7 +578,7 @@ class DashElectrumX(ElectrumX):
|
|||||||
try:
|
try:
|
||||||
return await self.masternode_announce_broadcast(signmnb)
|
return await self.masternode_announce_broadcast(signmnb)
|
||||||
except RPCError as e:
|
except RPCError as e:
|
||||||
return e.msg
|
return e.message
|
||||||
|
|
||||||
async def masternode_subscribe(self, vin):
|
async def masternode_subscribe(self, vin):
|
||||||
'''Returns the status of masternode.'''
|
'''Returns the status of masternode.'''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user