@@ -4,6 +4,7 @@ import retry from 'async-retry';
44import { toBN } from 'web3-utils';
55import { RETRY_OPTIONS, waitForTransactionConfirm } from './txn';
66import { WALLET_TYPES } from 'lib/constants';
7+import { isRopsten } from './flags';
78
89const TANK_ADDRESS = '0x40f0A6db85f8D7A54fF3eA915b040dE8Cd4A0Eb5';
910
@@ -11,7 +12,8 @@ const TANK_ADDRESS = '0x40f0A6db85f8D7A54fF3eA915b040dE8Cd4A0Eb5';
1112// did not succeed", you might need to visit localhost:3001 or whatever
1213// explicitly and tell your browser that's safe to access.
1314// https://stackoverflow.com/a/53011185/1334324
14−const baseUrl = 'https://gas-tank.urbit.org:3001';
15+const port = isRopsten ? '3011' : '3001';
16+const baseUrl = `https://gas-tank.urbit.org:${port}`;
1517
1618function sendRequest(where, what) {
1719 return new Promise((resolve, reject) => {