mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Print one log message per keypool top-up, not one per key.
This commit is contained in:
parent
41dc163587
commit
b0e8e2de84
@ -3213,7 +3213,9 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize)
|
||||
} else {
|
||||
setExternalKeyPool.insert(nEnd);
|
||||
}
|
||||
LogPrintf("keypool added key %d, size=%u (%u internal), new key is %s\n", nEnd, setInternalKeyPool.size() + setExternalKeyPool.size(), setInternalKeyPool.size(), internal ? "internal" : "external");
|
||||
}
|
||||
if (missingInternal + missingExternal > 0) {
|
||||
LogPrintf("keypool added %d keys (%d internal), size=%u (%u internal)\n", missingInternal + missingExternal, missingInternal, setInternalKeyPool.size() + setExternalKeyPool.size(), setInternalKeyPool.size());
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user