fix transactions call
This commit is contained in:
parent
59c8895db5
commit
fae434465d
@ -122,8 +122,8 @@ def list_transactions(address, limit=10): # noqa: E501
|
|||||||
chain_spec,
|
chain_spec,
|
||||||
queue=celery_queue,
|
queue=celery_queue,
|
||||||
)
|
)
|
||||||
task = api.list(address=address, limit=limit)
|
data = call('list', address, limit)
|
||||||
data = task.get()
|
# data = task.get()
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
@ -183,3 +183,6 @@ def transfer_from(from_address, to_address, value, token_symbol, spender_address
|
|||||||
log.debug(f"transfer {t.get_leaf()}")
|
log.debug(f"transfer {t.get_leaf()}")
|
||||||
log.debug(f"transfer {t.successful()}")
|
log.debug(f"transfer {t.successful()}")
|
||||||
return t.get()
|
return t.get()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user