mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user