Skip to content

Commit

Permalink
fix listtransactions result
Browse files Browse the repository at this point in the history
  • Loading branch information
wakiyamap committed Jan 25, 2019
1 parent 4dc7a14 commit fd00aa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/yaamp/modules/site/coin_results.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
$txs_array[] = $tx;
}

krsort($txs_array);
if ($account != $MONA) krsort($txs_array);
}

// filter useless decred spent transactions
Expand Down
3 changes: 2 additions & 1 deletion web/yaamp/modules/site/coin_tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
if (arraySafeVal($tx,'time',time()) > $list_since)
$txs_array[] = $tx;
}
krsort($txs_array);

if ($account != $MONA) krsort($txs_array);
}

$voted_txs = array();
Expand Down

0 comments on commit fd00aa0

Please sign in to comment.