@@ -1212,7 +1212,7 @@ void CWallet::SyncTransaction(const CTransactionRef& ptx, CWalletTx::Confirmatio
12121212
12131213void CWallet::transactionAddedToMempool (const CTransactionRef& tx, uint64_t mempool_sequence) {
12141214 LOCK (cs_wallet);
1215- SyncTransaction (tx, {CWalletTx::Status::UNCONFIRMED, /* block height */ 0 , /* block hash */ {}, /* index */ 0 });
1215+ SyncTransaction (tx, {CWalletTx::Status::UNCONFIRMED, /* block_height= */ 0 , /* block_hash= */ {}, /* block_index= */ 0 });
12161216
12171217 auto it = mapWallet.find (tx->GetHash ());
12181218 if (it != mapWallet.end ()) {
@@ -1253,7 +1253,7 @@ void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRe
12531253 // distinguishing between conflicted and unconfirmed transactions are
12541254 // imperfect, and could be improved in general, see
12551255 // https://github.com/bitcoin-core/bitcoin-devwiki/wiki/Wallet-Transaction-Conflict-Tracking
1256- SyncTransaction (tx, {CWalletTx::Status::UNCONFIRMED, /* block height */ 0 , /* block hash */ {}, /* index */ 0 });
1256+ SyncTransaction (tx, {CWalletTx::Status::UNCONFIRMED, /* block_height= */ 0 , /* block_hash= */ {}, /* block_index= */ 0 });
12571257 }
12581258}
12591259
@@ -1281,7 +1281,7 @@ void CWallet::blockDisconnected(const CBlock& block, int height)
12811281 m_last_block_processed_height = height - 1 ;
12821282 m_last_block_processed = block.hashPrevBlock ;
12831283 for (const CTransactionRef& ptx : block.vtx ) {
1284- SyncTransaction (ptx, {CWalletTx::Status::UNCONFIRMED, /* block height */ 0 , /* block hash */ {}, /* index */ 0 });
1284+ SyncTransaction (ptx, {CWalletTx::Status::UNCONFIRMED, /* block_height= */ 0 , /* block_hash= */ {}, /* block_index= */ 0 });
12851285 }
12861286}
12871287
0 commit comments