diff options
Diffstat (limited to 'src/db.cpp')
-rw-r--r-- | src/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cpp b/src/db.cpp index b3bbaca19f..8ca783163b 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -942,7 +942,7 @@ int CWalletDB::LoadWallet(CWallet* pwallet) ssKey >> hash; CScript script; ssValue >> script; - if (!pwallet->LoadCScript(hash, script)) + if (!pwallet->LoadCScript(script)) return DB_CORRUPT; } } |