From ea3e569cf01a36e3eba78d6a2c671def12097291 Mon Sep 17 00:00:00 2001 From: Jagoda Berry Rybacka Date: Wed, 13 Dec 2023 17:29:54 +0100 Subject: [PATCH] Fix removing custom networks Add database transaction dependency to fix removing items from `customRpcConfig` table. --- background/services/chain/db.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/background/services/chain/db.ts b/background/services/chain/db.ts index bf5d77dbe..b7fdb5a90 100644 --- a/background/services/chain/db.ts +++ b/background/services/chain/db.ts @@ -292,6 +292,7 @@ export class ChainDatabase extends Dexie { this.baseAssets, this.rpcConfig, this.accountsToTrack, + this.customRpcConfig, async () => { await Promise.all([ this.networks.where({ chainID }).delete(),