File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -338,15 +338,15 @@ class CWalletTx
338
338
mutable bool fInMempool ;
339
339
mutable CAmount nChangeCached;
340
340
341
- CWalletTx (const CWallet* pwalletIn, CTransactionRef arg)
342
- : tx(std::move(arg))
341
+ CWalletTx (const CWallet* wallet, CTransactionRef arg)
342
+ : pwallet(wallet),
343
+ tx (std::move(arg))
343
344
{
344
- Init (pwalletIn );
345
+ Init ();
345
346
}
346
347
347
- void Init (const CWallet* pwalletIn )
348
+ void Init ()
348
349
{
349
- pwallet = pwalletIn;
350
350
mapValue.clear ();
351
351
vOrderForm.clear ();
352
352
fTimeReceivedIsTxTime = false ;
@@ -414,7 +414,7 @@ class CWalletTx
414
414
template <typename Stream>
415
415
void Unserialize (Stream& s)
416
416
{
417
- Init (nullptr );
417
+ Init ();
418
418
419
419
std::vector<uint256> dummy_vector1; // !< Used to be vMerkleBranch
420
420
std::vector<CMerkleTx> dummy_vector2; // !< Used to be vtxPrev
You can’t perform that action at this time.
0 commit comments