From 0889dc0c6f8468ff2848c3be06c43bfabe612593 Mon Sep 17 00:00:00 2001 From: Tyler Sorensen Date: Tue, 23 Nov 2021 22:11:05 -0800 Subject: [PATCH] always use mainnet scd endpoint --- packages/dai-plugin-scd/src/QueryApiScd.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/dai-plugin-scd/src/QueryApiScd.js b/packages/dai-plugin-scd/src/QueryApiScd.js index 6c5d391fa..8c2f20d44 100644 --- a/packages/dai-plugin-scd/src/QueryApiScd.js +++ b/packages/dai-plugin-scd/src/QueryApiScd.js @@ -9,13 +9,9 @@ export default class QueryApi { switch (network) { case 'mainnet': case 1: + default: this.serverUrl = MAINNET_SERVER_URL; break; - case 'kovan': - case 42: - throw new Error('Kovan is no longer supported'); - default: - throw new Error(`don't know what to do for network "${network}"`); } }