aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-12-19 07:27:25 -0800
committerGavin Andresen <gavinandresen@gmail.com>2011-12-19 07:27:25 -0800
commit99a289f531e9dc42aa81ea32ff84b807a46b6a9c (patch)
treea4d7f89dbfdb11aef1fe4b6644a1ba127d0e97f5 /src/db.cpp
parentfc90967876a0b8c762cba4a9f40a80db7a8b0432 (diff)
parent95d888a6d1f659a5cb81124e0d97966b9de1f139 (diff)
Merge pull request #574 from sipa/dumpprivkey
Dumpprivkey
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 696fc736e0..7195e065ea 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");