1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
This commit is contained in:
Matthias Kretschmann 2020-09-30 19:00:34 +02:00
parent 0e55d3434d
commit b76dc95f41
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -50,9 +50,7 @@ export default function PoolTransactions(): ReactElement {
async function getLogs() { async function getLogs() {
if (!ocean || !accountId) return if (!ocean || !accountId) return
const logs = await ocean.pool.getAllPoolLogs( const logs = await ocean.pool.getAllPoolLogs(accountId)
'0xe08A1dAe983BC701D05E492DB80e0144f8f4b909'
)
// limit to 100 latest transactions for now // limit to 100 latest transactions for now
setLogs(logs.slice(0, 99)) setLogs(logs.slice(0, 99))
} }