Merge pull request #207 from TheSerapher/issue-206
Do not mark PPS transactions as unconfirmed
This commit is contained in:
commit
a8a565ff7d
@ -203,10 +203,7 @@ class Transaction {
|
||||
FROM $this->table AS t
|
||||
LEFT JOIN " . $this->block->getTableName() . " AS b ON t.block_id = b.id
|
||||
WHERE
|
||||
(
|
||||
( t.type IN ('Credit','Bonus') AND b.confirmations < ? ) OR
|
||||
( t.type = 'Credit_PPS' )
|
||||
)
|
||||
t.type IN ('Credit','Bonus') AND b.confirmations < ?
|
||||
AND t.account_id = ?
|
||||
) AS t4,
|
||||
(
|
||||
@ -215,8 +212,7 @@ class Transaction {
|
||||
LEFT JOIN " . $this->block->getTableName() . " AS b ON t.block_id = b.id
|
||||
WHERE
|
||||
(
|
||||
( t.type IN ('Donation','Fee') AND b.confirmations < ? ) OR
|
||||
( t.type IN ('Donation_PPS', 'Fee_PPS', 'TXFee') )
|
||||
t.type IN ('Donation','Fee') AND b.confirmations < ?
|
||||
)
|
||||
AND t.account_id = ?
|
||||
) AS t5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user