From 16823e90131b7668575be9ada467a83a908b05e6 Mon Sep 17 00:00:00 2001 From: junderw Date: Tue, 9 Apr 2019 12:09:43 +0900 Subject: [PATCH] Add APIURL env for endpoint --- test/integration/_regtest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/_regtest.js b/test/integration/_regtest.js index 0ea6736..e32e11b 100644 --- a/test/integration/_regtest.js +++ b/test/integration/_regtest.js @@ -10,7 +10,7 @@ const dhttp = options => new Promise((resolve, reject) => { }) const APIPASS = process.env.APIPASS || 'satoshi' -const APIURL = 'https://regtest.bitbank.cc/1' +const APIURL = process.env.APIURL || 'https://regtest.bitbank.cc/1' const NETWORK = bitcoin.networks.testnet function broadcast (txHex) {