Fix sonar, lint and bug issues

This commit is contained in:
RcleydsonR
2023-01-27 19:47:52 -03:00
parent db2d15b318
commit 807bceac26
6 changed files with 215 additions and 10 deletions

View File

@@ -75,7 +75,7 @@ const listAllTransactionByWalletAddress = async (
const listReleaseTransactionByWalletAddress = async (
walletAddress: string
): Promise<Event[]> => {
const p2pContract = getContract();
const p2pContract = getContract(true);
const filterReleasedLocks = p2pContract.filters.LockReleased([walletAddress]);
const eventsReleasedLocks = await p2pContract.queryFilter(