[wallet] Rename InitLoadWallet() to OpenWallets()

Rationale:
- this init function can now open multiple wallets (hence
  Wallet->Wallets)
- This is named as the antonym to CloseWallets(), which carries out the
  opposite action.
This commit is contained in:
John Newbery
2017-08-29 11:48:25 -04:00
parent f088a1bb39
commit 9c76ba18cd
3 changed files with 3 additions and 3 deletions

View File

@@ -1567,7 +1567,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
// ********************************************************* Step 8: load wallet
#ifdef ENABLE_WALLET
if (!InitLoadWallet())
if (!OpenWallets())
return false;
#else
LogPrintf("No wallet support compiled in!\n");