mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Automatically relay transactions (note: the flag is not documented)
This commit is contained in:
parent
f8bb84c458
commit
8e6970ea38
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ class JSONRPCDaemon(object):
|
|||
return info
|
||||
|
||||
def send_transaction(self, blob):
|
||||
res = self.raw_request('/sendrawtransaction', {'tx_as_hex': blob})
|
||||
res = self.raw_request('/sendrawtransaction', {
|
||||
'tx_as_hex': blob,
|
||||
'do_not_relay': False})
|
||||
if res['status'] == 'OK':
|
||||
return res
|
||||
raise exceptions.TransactionBroadcastError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue