fixed locks filter
Some checks are pending
Some checks are pending
This commit is contained in:
parent
42fcae0465
commit
fd61376b36
@ -172,10 +172,7 @@ const listLockTransactionBySellerAddress = async (
|
|||||||
const eventsReleasedLocks = await p2pContract.queryFilter(filterAddedLocks);
|
const eventsReleasedLocks = await p2pContract.queryFilter(filterAddedLocks);
|
||||||
|
|
||||||
return eventsReleasedLocks.filter((lock) =>
|
return eventsReleasedLocks.filter((lock) =>
|
||||||
lock.args?.seller
|
lock.args?.seller.toLowerCase() == sellerAddress.toLowerCase()
|
||||||
.toHexString()
|
|
||||||
.substring(3)
|
|
||||||
.includes(sellerAddress.substring(2).toLowerCase())
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user