aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2011-06-28 23:45:22 +0200
committerPieter Wuille <sipa@ulyssis.org>2011-12-17 21:49:47 +0100
commit4c6e22953ef8ae0764576993088ec83d729d18f8 (patch)
tree5b0bb2ee0b7226e4721dc6a98ad6144f15926262 /src/db.cpp
parent821462017860c780badf42cb50c3796575e0e053 (diff)
Make CWalletTx::pwallet private
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 9ac93b3506..9b29e799e0 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -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");