refactor: rename env var

This commit is contained in:
Michael Vines
2018-11-01 14:41:06 -07:00
parent b1e811473a
commit 6ff9d1a650
3 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
import {Client as RpcWebSocketClient} from 'rpc-websockets';
// Define DOITLIVE in the environment to test against the real full node
// Define TEST_LIVE in the environment to test against the real full node
// identified by `url` instead of using the mock
export const mockRpcEnabled = !process.env.DOITLIVE;
export const mockRpcEnabled = !process.env.TEST_LIVE;
let mockNotice = true;