mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2024-11-24 08:08:14 +11:00
batch: Added error description to addresses exceed lookahead
This commit is contained in:
parent
c94bc8dcda
commit
72be43e16d
@ -484,9 +484,18 @@ namespace FireWallet
|
|||||||
{
|
{
|
||||||
AddLog("Error: ");
|
AddLog("Error: ");
|
||||||
AddLog(jObject["error"].ToString());
|
AddLog(jObject["error"].ToString());
|
||||||
|
if (jObject["error"].ToString().Contains("Batch output addresses would exceed lookahead"))
|
||||||
|
{
|
||||||
|
NotifyForm notifyForm = new NotifyForm("Error: \nBatch output addresses would exceed lookahead\nYour batch might have too many TXs.");
|
||||||
|
notifyForm.ShowDialog();
|
||||||
|
notifyForm.Dispose();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
NotifyForm notifyForm = new NotifyForm("Error: \n" + jObject["error"].ToString());
|
NotifyForm notifyForm = new NotifyForm("Error: \n" + jObject["error"].ToString());
|
||||||
notifyForm.ShowDialog();
|
notifyForm.ShowDialog();
|
||||||
notifyForm.Dispose();
|
notifyForm.Dispose();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user