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
338338 mutable bool fInMempool ;
339339 mutable CAmount nChangeCached;
340340
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))
343344 {
344- Init (pwalletIn );
345+ Init ();
345346 }
346347
347- void Init (const CWallet* pwalletIn )
348+ void Init ()
348349 {
349- pwallet = pwalletIn;
350350 mapValue.clear ();
351351 vOrderForm.clear ();
352352 fTimeReceivedIsTxTime = false ;
@@ -414,7 +414,7 @@ class CWalletTx
414414 template <typename Stream>
415415 void Unserialize (Stream& s)
416416 {
417- Init (nullptr );
417+ Init ();
418418
419419 std::vector<uint256> dummy_vector1; // !< Used to be vMerkleBranch
420420 std::vector<CMerkleTx> dummy_vector2; // !< Used to be vtxPrev
You can’t perform that action at this time.
0 commit comments