Merge pull request #207 from TheSerapher/issue-206

Do not mark PPS transactions as unconfirmed
This commit is contained in:
Sebastian Grewe 2013-06-17 07:45:03 -07:00
commit a8a565ff7d

View File

@ -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