Fetch unconfirmed utxos as well

This commit is contained in:
dabura667 2015-08-30 10:51:42 +09:00
parent 91ee89282f
commit a62a822b71

View file

@ -617,7 +617,7 @@ $(document).ready(function() {
function listUnspentBlockrio_BitcoinMainnet(redeem){ function listUnspentBlockrio_BitcoinMainnet(redeem){
$.ajax ({ $.ajax ({
type: "POST", type: "POST",
url: "https://btc.blockr.io/api/v1/address/unspent/"+redeem.addr, url: "https://btc.blockr.io/api/v1/address/unspent/"+redeem.addr+"?unconfirmed=1",
dataType: "json", dataType: "json",
error: function(data) { error: function(data) {
$("#redeemFromStatus").removeClass('hidden').html('<span class="glyphicon glyphicon-exclamation-sign"></span> Unexpected error, unable to retrieve unspent outputs!'); $("#redeemFromStatus").removeClass('hidden').html('<span class="glyphicon glyphicon-exclamation-sign"></span> Unexpected error, unable to retrieve unspent outputs!');