aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-02-18 14:55:02 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-02-18 15:42:29 +0100
commit0b807a417f4a15f3e37ae35e70a72e6169f01c02 (patch)
treeda6bc0f32945d45a8cb9a366d6a729260e33bdda /src/db.cpp
parent2d36b60f9278f2b6fedadbb3b5f29e19244f5cef (diff)
Add SetMinVersion to CWallet
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 9a904ec2e0..ea6d46a6e5 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -940,6 +940,7 @@ int CWalletDB::LoadWallet(CWallet* pwallet)
ssValue >> nMinVersion;
if (nMinVersion > CLIENT_VERSION)
return DB_TOO_NEW;
+ pwallet->LoadMinVersion(nMinVersion);
}
else if (strType == "cscript")
{