Minor Warning Fixed (#1482)

Follow up to #1405
This commit is contained in:
Spencer Lievens 2017-05-31 05:50:16 +02:00 committed by UdjinM6
parent ee4daed835
commit b6804678f2

View File

@ -2421,7 +2421,7 @@ UniValue getwalletinfo(const UniValue& params, bool fHelp)
obj.push_back(Pair("hdchainid", hdChainCurrent.GetID().GetHex()));
obj.push_back(Pair("hdaccountcount", (int64_t)hdChainCurrent.CountAccounts()));
UniValue accounts(UniValue::VARR);
for (int i = 0; i < hdChainCurrent.CountAccounts(); ++i)
for (size_t i = 0; i < hdChainCurrent.CountAccounts(); ++i)
{
CHDAccount acc;
UniValue account(UniValue::VOBJ);