From b76dc95f41fa610f0aae5d83983a5405738f0a08 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 30 Sep 2020 19:00:34 +0200 Subject: [PATCH] cleanup --- src/components/pages/History/PoolTransactions.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/pages/History/PoolTransactions.tsx b/src/components/pages/History/PoolTransactions.tsx index f1716e7fe..6d7d0cc25 100644 --- a/src/components/pages/History/PoolTransactions.tsx +++ b/src/components/pages/History/PoolTransactions.tsx @@ -50,9 +50,7 @@ export default function PoolTransactions(): ReactElement { async function getLogs() { if (!ocean || !accountId) return - const logs = await ocean.pool.getAllPoolLogs( - '0xe08A1dAe983BC701D05E492DB80e0144f8f4b909' - ) + const logs = await ocean.pool.getAllPoolLogs(accountId) // limit to 100 latest transactions for now setLogs(logs.slice(0, 99)) }