mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
Make CWalletTx::pwallet private
This commit is contained in:
committed by
Pieter Wuille
parent
8214620178
commit
4c6e22953e
@@ -810,7 +810,7 @@ int CWalletDB::LoadWallet(CWallet* pwallet)
|
||||
ssKey >> hash;
|
||||
CWalletTx& wtx = pwallet->mapWallet[hash];
|
||||
ssValue >> wtx;
|
||||
wtx.pwallet = pwallet;
|
||||
wtx.BindWallet(pwallet);
|
||||
|
||||
if (wtx.GetHash() != hash)
|
||||
printf("Error in wallet.dat, hash mismatch\n");
|
||||
|
||||
Reference in New Issue
Block a user