|
|
@ -862,6 +862,8 @@ int CWalletDB::LoadWallet(CWallet* pwallet) |
|
|
|
ssValue >> pkey; |
|
|
|
ssValue >> pkey; |
|
|
|
key.SetPubKey(vchPubKey); |
|
|
|
key.SetPubKey(vchPubKey); |
|
|
|
key.SetPrivKey(pkey); |
|
|
|
key.SetPrivKey(pkey); |
|
|
|
|
|
|
|
if (key.GetPubKey() != vchPubKey) |
|
|
|
|
|
|
|
return DB_CORRUPT; |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|