Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
always use mainnet scd endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler17 committed Nov 24, 2021
1 parent eeb6f17 commit 0889dc0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/dai-plugin-scd/src/QueryApiScd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}"`);
}
}

Expand Down

0 comments on commit 0889dc0

Please sign in to comment.