update faucet url
This commit is contained in:
parent
713f038583
commit
70d423f596
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
var https = require('https')
|
||||
|
||||
function faucetWithdraw(address, amount, done) {
|
||||
var url = "https://coconut-macaroon.herokuapp.com/bitcoin/testnet/withdrawal?address=" + address + "&amount=" + amount
|
||||
var url = "https://coconut-macaroon.herokuapp.com/withdrawal?address=" + address + "&amount=" + amount
|
||||
https.get(url, function(res) {
|
||||
res.statusCode == 200 ? done(null) : done(new Error("non-200 status: " + res.statusCode))
|
||||
}).on('error', done)
|
||||
|
|
Loading…
Reference in a new issue