Use block times for 'hard' OP_EVAL switchover, and refactored EvalScript
[novacoin.git] / src / db.cpp
index 52ad695..f43b2a5 100644 (file)
@@ -938,7 +938,7 @@ int CWalletDB::LoadWallet(CWallet* pwallet)
             {
                 uint160 hash;
                 ssKey >> hash;
-                std::vector<unsigned char> script;
+                CScript script;
                 ssValue >> script;
                 if (!pwallet->LoadCScript(hash, script))
                     return DB_CORRUPT;