Change regtest server over to regtest.bitbank.cc

This commit is contained in:
junderw 2018-11-20 16:28:35 +09:00
parent bd0be2f343
commit 9c409b1274
No known key found for this signature in database
GPG key ID: B256185D3A971908

View file

@ -3,12 +3,12 @@ const bitcoin = require('../../')
const dhttp = require('dhttp/200')
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
function broadcast (txHex, callback) {
dhttp({
method: 'PUT',
method: 'POST',
url: APIURL + '/t/push',
body: txHex
}, callback)