From 195d05c44ec37da3fc99de3bc5bff56e5ddca356 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 20 May 2024 21:06:00 +0800 Subject: [PATCH] fix bug. --- .../blockAddressPointOfLp.repository.ts | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/src/repositories/blockAddressPointOfLp.repository.ts b/src/repositories/blockAddressPointOfLp.repository.ts index 9f9cda2..92494be 100644 --- a/src/repositories/blockAddressPointOfLp.repository.ts +++ b/src/repositories/blockAddressPointOfLp.repository.ts @@ -40,22 +40,14 @@ export class BlockAddressPointOfLpRepository extends BaseRepository { - if (!existsAddresses.includes(row.address)) { + const tmpAddress = "0x" + row.address.toString("hex"); + if (!existsAddresses.includes(tmpAddress)) { return row.address; } });