diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2018-04-10 22:12:48 -0400 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2018-06-14 09:57:34 -0400 |
commit | 3c292cc190b1739ffcbec79b264aaded00c08e2c (patch) | |
tree | 2240911cdfe08396dbe94919cc29dbb8c554dadd /src/wallet/wallet.h | |
parent | 7c32b414b6325743c99fed1208bc53ab0fa1996f (diff) | |
download | bitcoin-3c292cc190b1739ffcbec79b264aaded00c08e2c.tar.xz |
ScanforWalletTransactions should mark input txns as dirty
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 1ec2a9e771..38d054842c 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -708,9 +708,9 @@ private: void SyncMetaData(std::pair<TxSpends::iterator, TxSpends::iterator>); - /* Used by TransactionAddedToMemorypool/BlockConnected/Disconnected. + /* Used by TransactionAddedToMemorypool/BlockConnected/Disconnected/ScanForWalletTransactions. * Should be called with pindexBlock and posInBlock if this is for a transaction that is included in a block. */ - void SyncTransaction(const CTransactionRef& tx, const CBlockIndex *pindex = nullptr, int posInBlock = 0) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); + void SyncTransaction(const CTransactionRef& tx, const CBlockIndex *pindex = nullptr, int posInBlock = 0, bool update_tx = true) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); /* the HD chain data model (external chain counters) */ CHDChain hdChain; |