Browse Source

Change regtest server over to regtest.bitbank.cc

v4
junderw 6 years ago
parent
commit
9c409b1274
No known key found for this signature in database GPG Key ID: B256185D3A971908
  1. 4
      test/integration/_regtest.js

4
test/integration/_regtest.js

@ -3,12 +3,12 @@ const bitcoin = require('../../')
const dhttp = require('dhttp/200') const dhttp = require('dhttp/200')
const APIPASS = process.env.APIPASS || 'satoshi' const APIPASS = process.env.APIPASS || 'satoshi'
const APIURL = 'https://api.dcousens.cloud/1' const APIURL = 'https://regtest.bitbank.cc/1'
const NETWORK = bitcoin.networks.testnet const NETWORK = bitcoin.networks.testnet
function broadcast (txHex, callback) { function broadcast (txHex, callback) {
dhttp({ dhttp({
method: 'PUT', method: 'POST',
url: APIURL + '/t/push', url: APIURL + '/t/push',
body: txHex body: txHex
}, callback) }, callback)

Loading…
Cancel
Save