@@ -1212,7 +1212,7 @@ void CWallet::SyncTransaction(const CTransactionRef& ptx, CWalletTx::Confirmatio
1212
1212
1213
1213
void CWallet::transactionAddedToMempool (const CTransactionRef& tx, uint64_t mempool_sequence) {
1214
1214
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 });
1216
1216
1217
1217
auto it = mapWallet.find (tx->GetHash ());
1218
1218
if (it != mapWallet.end ()) {
@@ -1253,7 +1253,7 @@ void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRe
1253
1253
// distinguishing between conflicted and unconfirmed transactions are
1254
1254
// imperfect, and could be improved in general, see
1255
1255
// 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 });
1257
1257
}
1258
1258
}
1259
1259
@@ -1281,7 +1281,7 @@ void CWallet::blockDisconnected(const CBlock& block, int height)
1281
1281
m_last_block_processed_height = height - 1 ;
1282
1282
m_last_block_processed = block.hashPrevBlock ;
1283
1283
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 });
1285
1285
}
1286
1286
}
1287
1287
0 commit comments