diff --git a/BidderGUI/Form1.cs b/BidderGUI/Form1.cs index 4f158aa..ac0b748 100644 --- a/BidderGUI/Form1.cs +++ b/BidderGUI/Form1.cs @@ -257,7 +257,7 @@ async void sendbatchbid(string[] domains) // Send a batch of bid transactions for domains try { - unlockwallet(); + await unlockwallet(); // Create a HTTP request with the API key HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "http://"+ipporttextBox.Text); @@ -315,7 +315,7 @@ async void sendbatch(string[] domains, string method) try { - unlockwallet(); + await unlockwallet(); // Create a HTTP request with the API key HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "http://" + ipporttextBox.Text); @@ -368,7 +368,7 @@ async void sendbatch(string[] domains, string method) } - async void unlockwallet() + async Task unlockwallet() { // Unlocking wallet logtextBox.Text = logtextBox.Text + "Unlocking Wallet using passphrase" + Environment.NewLine;