mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2024-11-24 08:08:14 +11:00
main: Fixed showing TXs for Ledger
This commit is contained in:
parent
960af0b169
commit
531d41a413
@ -884,7 +884,7 @@ namespace FireWallet
|
|||||||
int toSkip = TotalTX - toGet;
|
int toSkip = TotalTX - toGet;
|
||||||
|
|
||||||
// GET TXs
|
// GET TXs
|
||||||
APIresponse = await APIPost("", true, "{\"method\": \"listtransactions\",\"params\": [\"default\"," + toGet + "," + toSkip + "]}");
|
APIresponse = await APIPost("", true, "{\"method\": \"listtransactions\",\"params\": [\"default\"," + toGet + "," + toSkip + ", true]}");
|
||||||
|
|
||||||
if (APIresponse == "Error")
|
if (APIresponse == "Error")
|
||||||
{
|
{
|
||||||
@ -902,6 +902,7 @@ namespace FireWallet
|
|||||||
}
|
}
|
||||||
|
|
||||||
JArray txs = JArray.Parse(TXGET["result"].ToString());
|
JArray txs = JArray.Parse(TXGET["result"].ToString());
|
||||||
|
if (toGet > txs.Count) toGet = txs.Count;
|
||||||
Control[] tmpControls = new Control[toGet];
|
Control[] tmpControls = new Control[toGet];
|
||||||
for (int i = 0; i < toGet; i++)
|
for (int i = 0; i < toGet; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user