mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).
This commit is contained in:
parent
d11a58a2d3
commit
922e8e2929
21 changed files with 824 additions and 544 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue