]> Git Repo - VerusCoin.git/blobdiff - src/init.cpp
Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddress
[VerusCoin.git] / src / init.cpp
index 8295534e6224e23fce732acaa1fc22e28edd83d5..2a87311056c2bc15e63fc4376214fe7d0ba02332 100644 (file)
@@ -608,7 +608,7 @@ bool AppInit2()
         if (!pwalletMain->GetKeyFromPool(newDefaultKey, false))
             strErrors << _("Cannot initialize keypool") << "\n";
         pwalletMain->SetDefaultKey(newDefaultKey);
-        if (!pwalletMain->SetAddressBookName(CBitcoinAddress(pwalletMain->vchDefaultKey), ""))
+        if (!pwalletMain->SetAddressBookName(pwalletMain->vchDefaultKey.GetID(), ""))
             strErrors << _("Cannot write default address") << "\n";
     }
 
This page took 0.019173 seconds and 4 git commands to generate.