main: Fixed error check in reveal all

This commit is contained in:
Nathan Woodburn 2023-06-14 23:27:28 +10:00
parent cf2f68f2b3
commit eccc584b2c
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -1804,7 +1804,7 @@ namespace FireWallet
return;
}
JObject resp = JObject.Parse(response);
if (resp["error"] != null)
if (resp["error"].ToString() != "")
{
AddLog("Error sending reveal");
AddLog(resp["error"].ToString());