Fixing blockchain explorer on history

This commit is contained in:
brunoedcf
2023-02-06 21:05:21 -03:00
parent 3bdea04020
commit 6b13d5b84f
9 changed files with 57 additions and 22 deletions

View File

@@ -51,7 +51,7 @@ const listValidDepositTransactionsByWalletAddress = async (
const listAllTransactionByWalletAddress = async (
walletAddress: string
): Promise<Event[]> => {
const p2pContract = getContract();
const p2pContract = getContract(true);
const filterDeposits = p2pContract.filters.DepositAdded([walletAddress]);
const eventsDeposits = await p2pContract.queryFilter(filterDeposits);