From b394477d3a147b3c09b0b4e4839aa9f2441fb3b1 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 20 Feb 2017 00:19:52 +0100 Subject: [PATCH] Debugging - Getting somewhere --- Backend/BackendLoop.cs | 2 +- Site/Pages/v5/Financial/Donate.aspx.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Backend/BackendLoop.cs b/Backend/BackendLoop.cs index 6b20dfc1..7e0b8551 100644 --- a/Backend/BackendLoop.cs +++ b/Backend/BackendLoop.cs @@ -961,7 +961,7 @@ namespace Swarmops.Backend catch (ArgumentException) { // Ignore this - it means the addressString isn't ours - throw; + continue; } if (hotAddress != null) diff --git a/Site/Pages/v5/Financial/Donate.aspx.cs b/Site/Pages/v5/Financial/Donate.aspx.cs index 8462dff9..29937b33 100644 --- a/Site/Pages/v5/Financial/Donate.aspx.cs +++ b/Site/Pages/v5/Financial/Donate.aspx.cs @@ -70,7 +70,6 @@ namespace Swarmops.Frontend.Pages.v5.Financial data ["ServerRequest"] = "AddBitcoinAddress"; data["Address"] = address.Address; socket.Send(data.ToString()); - System.Threading.Thread.Sleep(50); // wait 50ms for the ServerRequest to go through socket.Ping(); // wait a little little while for send to work socket.Close(); }