Skip to content

Commit

Permalink
Update src/vendors/oasisscan.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Luka Jeran <lukajeran@oasislabs.com>
  • Loading branch information
buberdds and lukaw3d committed Aug 2, 2022
1 parent 468f1ba commit 00e3626
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vendors/oasisscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ export function getOasisscanAPIs(url: string | 'https://api.oasisscan.com/mainne

const list = await Promise.all(
transactionsList.data.list.map(async tx => (tx.runtimeId ? getRuntimeTransactionInfo(tx) : tx)),
).then(transaction => {
return transaction
})
)

return parseTransactionsList(list)
}
Expand Down

0 comments on commit 00e3626

Please sign in to comment.