12 Commits

4 changed files with 30 additions and 9 deletions

View File

@@ -61,7 +61,7 @@ namespace FireWallet
notifyForm.Dispose();
this.Close();
}
}
} else this.Close();
}
ParseTX();
}

View File

@@ -839,6 +839,11 @@ namespace FireWallet
Account = comboBoxaccount.Text;
Password = textBoxaccountpassword.Text;
// Escape the password to allow use in JSON
Password = Password.Replace("\\", "\\\\");
Password = Password.Replace("\"", "\\\"");
bool loggedin = await Login();
if (loggedin)
{
@@ -900,7 +905,6 @@ namespace FireWallet
buttonRevealAll.Enabled = false;
string content = "{\"method\": \"sendreveal\"}";
string response = await APIPost("", true, content);
AddLog(response);
if (response == "Error")
{
AddLog("Error sending reveal");
@@ -936,7 +940,6 @@ namespace FireWallet
{
buttonRedeemAll.Enabled = false;
string content = "{\"method\": \"sendbatch\", \"params\":[[[\"REDEEM\"]]]}";
AddLog(content);
string response = await APIPost("", true, content);
if (response == "Error")
{
@@ -975,7 +978,6 @@ namespace FireWallet
{
buttonSendAll.Enabled = false;
string content = "{\"method\": \"sendbatch\", \"params\":[[[\"REVEAL\"],[\"REDEEM\"],[\"RENEW\"]]]}";
AddLog(content);
string response = await APIPost("", true, content);
if (response == "Error")
{

View File

@@ -29,8 +29,6 @@ namespace FireWallet
{
// Get multisig info
string infoResp = await mainForm.APIGet("wallet/" + mainForm.Account + "/account/default", true);
mainForm.AddLog(infoResp);
if (infoResp == "Error")
{
NotifyForm notifyForm = new NotifyForm("Error getting multisig info");
@@ -127,7 +125,6 @@ namespace FireWallet
string path = "wallet/" + mainForm.Account + "/shared-key";
string content = "{\"accountKey\": \"" + sig + "\",\"account\":\"default\"}";
string resp = await APIPut(path, true, content);
mainForm.AddLog(resp);
UpdateInfo();
}
@@ -136,7 +133,6 @@ namespace FireWallet
string path = "wallet/" + mainForm.Account + "/shared-key";
string content = "{\"accountKey\": \"" + sig + "\",\"account\":\"default\"}";
string resp = await APIPut(path, true, content);
mainForm.AddLog(resp);
UpdateInfo();
}

View File

@@ -1,5 +1,24 @@
<br>
### Due to a recent issue with bids being sent with the wrong address included with the lockup please update HSD.
This can be done if you are using the internal node.
1. Close the wallet if it is open
2. Open a terminal and run
```bat
cd %appdata%\FireWallet\hsd
git pull
```
3. Verify the fix is pulled by running
```bat
if exist "test\wallet-importnonce-test.js" (echo Fix pulled) else (echo Fix isn't pulled)
```
<br><br>
# FireWallet
Experimental wallet for Handshake chain
Experimental wallet for Handshake chain
Info about the project can be found at https://firewallet or https://firewallet.au
## Installation
### Dependencies
@@ -175,6 +194,10 @@ There are 4 modes: `off` is disabled, `mica` is windows app style, `key` is to m
This file stores the logs for the application.
You should check this file if you have any issues with the application.
# Thanks
Thanks to @ponderingken (https://github.com/ponderingken) for designing the logo and splash screen.
# Support
If you have any issues with the application you can open an issue on GitHub or contact me on Discord (NathanWoodburn on most Handshake servers).