From 70ca58196d57b13a1dbb2c346686ac112262e133 Mon Sep 17 00:00:00 2001 From: Christophe Le Bars Date: Sat, 3 Jun 2023 19:53:18 +0200 Subject: [PATCH] remove obsolete makeContractStore (typo) --- src/stores.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/stores.js b/src/stores.js index 1e0f0ad..38a8257 100644 --- a/src/stores.js +++ b/src/stores.js @@ -332,10 +332,3 @@ export const contracts = allStores.default.contracts // TODO spin off dectector export const walletType = allStores.default.walletType - -derived([web3, connected], ([$web3, $connected]) => { - if ($connected && $web3.eth) { - return new $web3.eth.Contract(abi, address, defaults) - } - return null -})