One ))))) too much

This commit is contained in:
Rick Falkvinge
2018-05-19 14:15:45 +02:00
parent 7cd9f15adc
commit f1edd9c7af
+1 -1
View File
@@ -351,7 +351,7 @@ namespace Swarmops.Logic.Financial
bool dummy1, dummy2;
unspentArray = JArray.Parse(
new WebClient().DownloadString("https://bch-insight.bitpay.com/api/addr/" + BitcoinCashAddressConversion.LegacyAddressToCashAddress(secretKey.PubKey.GetAddress(Network.Main).ToString(), out dummy1, out dummy2).Substring("bitcoincash:".Length) + "/utxo")));
new WebClient().DownloadString("https://bch-insight.bitpay.com/api/addr/" + BitcoinCashAddressConversion.LegacyAddressToCashAddress(secretKey.PubKey.GetAddress(Network.Main).ToString(), out dummy1, out dummy2).Substring("bitcoincash:".Length) + "/utxo"));
foreach (JObject unspentJson in unspentArray.Children())
{