Make CWalletTx::pwallet private

This commit is contained in:
Pieter Wuille
2011-06-28 23:45:22 +02:00
committed by Pieter Wuille
parent 8214620178
commit 4c6e22953e
3 changed files with 12 additions and 5 deletions

View File

@@ -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");