Skip to content

Commit 98db35c

Browse files
committed
Follow coding style for named arguments
1 parent bb00357 commit 98db35c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coins.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,15 @@ bool CCoinsViewCache::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlockIn
249249
}
250250

251251
bool CCoinsViewCache::Flush() {
252-
bool fOk = base->BatchWrite(cacheCoins, hashBlock, /*erase=*/ true);
252+
bool fOk = base->BatchWrite(cacheCoins, hashBlock, /*erase=*/true);
253253
cacheCoins.clear();
254254
cachedCoinsUsage = 0;
255255
return fOk;
256256
}
257257

258258
bool CCoinsViewCache::Sync()
259259
{
260-
bool fOk = base->BatchWrite(cacheCoins, hashBlock, /*erase=*/ false);
260+
bool fOk = base->BatchWrite(cacheCoins, hashBlock, /*erase=*/false);
261261
// Instead of clearing `cacheCoins` as we would in Flush(), just clear the
262262
// FRESH/DIRTY flags of any coin that isn't spent.
263263
for (auto it = cacheCoins.begin(); it != cacheCoins.end(); ) {

0 commit comments

Comments
 (0)