From 6df490aebec0be646789d1e5be3dc518b42fb2bd Mon Sep 17 00:00:00 2001 From: James Chen Date: Wed, 30 Oct 2019 10:36:10 +0900 Subject: [PATCH] fix: Search history by date --- packages/neuron-wallet/src/services/tx/transaction-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/neuron-wallet/src/services/tx/transaction-service.ts b/packages/neuron-wallet/src/services/tx/transaction-service.ts index 52c7e7ccbd..44ed3b8578 100644 --- a/packages/neuron-wallet/src/services/tx/transaction-service.ts +++ b/packages/neuron-wallet/src/services/tx/transaction-service.ts @@ -81,7 +81,7 @@ export class TransactionsService { return [ `${ base[0] - } AND (CAST("tx"."timestamp") AS UNSIGNED BIG INT) >= :beginTimestamp AND CAST("tx"."timestamp") AS UNSIGNED BIG INT) < :endTimestamp)`, + } AND (CAST("tx"."timestamp" AS UNSIGNED BIG INT) >= :beginTimestamp AND CAST("tx"."timestamp" AS UNSIGNED BIG INT) < :endTimestamp)`, { lockHashes: params.lockHashes, beginTimestamp,