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}"`); } }