From fae434465dcd2e6ae07718acefc1d0c4f2cfd69c Mon Sep 17 00:00:00 2001 From: William Luke Date: Fri, 12 Nov 2021 12:41:57 +0300 Subject: [PATCH] fix transactions call --- .../cic_eth/server/controllers/account_controller.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/cic-eth/cic_eth/server/controllers/account_controller.py b/apps/cic-eth/cic_eth/server/controllers/account_controller.py index f9399658..6e85d520 100644 --- a/apps/cic-eth/cic_eth/server/controllers/account_controller.py +++ b/apps/cic-eth/cic_eth/server/controllers/account_controller.py @@ -122,8 +122,8 @@ def list_transactions(address, limit=10): # noqa: E501 chain_spec, queue=celery_queue, ) - task = api.list(address=address, limit=limit) - data = task.get() + data = call('list', address, limit) + # data = task.get() 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.successful()}") return t.get() + + +