Debugging

This commit is contained in:
Rick Falkvinge
2017-02-19 21:57:42 +01:00
parent 61cb1b9de8
commit 3eb0f20199
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -989,6 +989,8 @@ namespace Swarmops.Backend
public static void AddBitcoinAddress(string address)
{
Console.WriteLine(" - request subscribing to address " + address);
if (_addressLookup == null)
{
_addressLookup = new SerializableDictionary<string, bool>();
@@ -996,6 +998,8 @@ namespace Swarmops.Backend
if (!_addressLookup.ContainsKey(address))
{
Console.WriteLine(" -- subscribed");
JObject json = new JObject();
json["op"] = "addr_sub";
json["addr"] = address;