Merge pull request #772 from TheSerapher/issue-770
[FIX] TX Summary for Accounts
This commit is contained in:
commit
e238323395
@ -59,8 +59,7 @@ class Transaction extends Base {
|
|||||||
FROM transactions AS t
|
FROM transactions AS t
|
||||||
LEFT OUTER JOIN blocks AS b
|
LEFT OUTER JOIN blocks AS b
|
||||||
ON b.id = t.block_id
|
ON b.id = t.block_id
|
||||||
WHERE b.confirmations > 0
|
WHERE ( b.confirmations > 0 OR b.id IS NULL )
|
||||||
OR b.id IS NULL
|
|
||||||
";
|
";
|
||||||
if (!empty($account_id)) {
|
if (!empty($account_id)) {
|
||||||
$sql .= " AND t.account_id = ? ";
|
$sql .= " AND t.account_id = ? ";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user