diff options
Diffstat (limited to 'src/db.cpp')
| -rw-r--r-- | src/db.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -636,6 +636,14 @@ bool CWalletDB::LoadWallet(vector<unsigned char>& vchDefaultKeyRet) | |||
| 636 | { | 636 | { |
| 637 | ssValue >> vchDefaultKeyRet; | 637 | ssValue >> vchDefaultKeyRet; |
| 638 | } | 638 | } |
| 639 | else if (strType == "pool") | ||
| 640 | { | ||
| 641 | int64 nIndex; | ||
| 642 | ssKey >> nIndex; | ||
| 643 | vector<unsigned char> vchPubKey; | ||
| 644 | ssValue >> vchPubKey; | ||
| 645 | mapKeyPool[nIndex] = vchPubKey; | ||
| 646 | } | ||
| 639 | else if (strType == "setting") /// or settings or option or options or config? | 647 | else if (strType == "setting") /// or settings or option or options or config? |
| 640 | { | 648 | { |
| 641 | string strKey; | 649 | string strKey; |