From 186702b784afc4cad0281c57f0f5e7b3cda284f4 Mon Sep 17 00:00:00 2001 From: wanglonghong Date: Tue, 30 May 2023 02:01:32 +0800 Subject: [PATCH] feat: should not handle transfer status here --- packages/adapters/cache/src/lib/caches/auctions.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/adapters/cache/src/lib/caches/auctions.ts b/packages/adapters/cache/src/lib/caches/auctions.ts index e651154fca..cb10e1aba9 100644 --- a/packages/adapters/cache/src/lib/caches/auctions.ts +++ b/packages/adapters/cache/src/lib/caches/auctions.ts @@ -62,11 +62,6 @@ export class AuctionsCache extends Cache { }; const res = await this.data.hset(`${this.prefix}:auction`, transferId, JSON.stringify(auction)); - if (!existing) { - // If the auction didn't previously exist, create an entry for status as well. - await this.setExecStatus(transferId, ExecStatus.Enqueued); - } - return Number(res >= 1); }