mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 04:24:17 +00:00
remove wallet updating debug output
This commit is contained in:
parent
37f793c631
commit
c428d9e76a
@ -51,8 +51,9 @@ struct TransactionTablePriv
|
|||||||
|
|
||||||
void refreshWallet()
|
void refreshWallet()
|
||||||
{
|
{
|
||||||
|
#ifdef WALLET_UPDATE_DEBUG
|
||||||
qDebug() << "refreshWallet";
|
qDebug() << "refreshWallet";
|
||||||
|
#endif
|
||||||
/* Query entire wallet from core.
|
/* Query entire wallet from core.
|
||||||
*/
|
*/
|
||||||
cachedWallet.clear();
|
cachedWallet.clear();
|
||||||
@ -72,8 +73,9 @@ struct TransactionTablePriv
|
|||||||
{
|
{
|
||||||
/* Walk through updated transactions, update model as needed.
|
/* Walk through updated transactions, update model as needed.
|
||||||
*/
|
*/
|
||||||
|
#ifdef WALLET_UPDATE_DEBUG
|
||||||
qDebug() << "updateWallet";
|
qDebug() << "updateWallet";
|
||||||
|
#endif
|
||||||
/* Sort update list, and iterate through it in reverse, so that model updates
|
/* Sort update list, and iterate through it in reverse, so that model updates
|
||||||
can be emitted from end to beginning (so that earlier updates will not influence
|
can be emitted from end to beginning (so that earlier updates will not influence
|
||||||
the indices of latter ones).
|
the indices of latter ones).
|
||||||
@ -103,8 +105,10 @@ struct TransactionTablePriv
|
|||||||
inModel = true;
|
inModel = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WALLET_UPDATE_DEBUG
|
||||||
qDebug() << " " << QString::fromStdString(hash.ToString()) << inWallet << " " << inModel
|
qDebug() << " " << QString::fromStdString(hash.ToString()) << inWallet << " " << inModel
|
||||||
<< lowerIndex << "-" << upperIndex;
|
<< lowerIndex << "-" << upperIndex;
|
||||||
|
#endif
|
||||||
|
|
||||||
if(inWallet && !inModel)
|
if(inWallet && !inModel)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user