Skip to content

Commit

Permalink
style: apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
knst committed Oct 28, 2024
1 parent edf3be2 commit a30c094
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/evo/creditpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,11 @@ CCreditPool CCreditPoolManager::ConstructCreditPool(const CBlockIndex* const blo
assert(currentLimit >= 0);

if (currentLimit > 0 || latelyUnlocked > 0 || locked > 0) {
LogPrint(BCLog::CREDITPOOL, "CCreditPoolManager: asset unlock limits on height: %d locked: %d.%08d limit: %d.%08d unlocked-in-window: %d.%08d\n",
block_index->nHeight, locked / COIN, locked % COIN,
currentLimit / COIN, currentLimit % COIN,
latelyUnlocked / COIN, latelyUnlocked % COIN);
LogPrint(BCLog::CREDITPOOL,
"CCreditPoolManager: asset unlock limits on height: %d locked: %d.%08d limit: %d.%08d "
"unlocked-in-window: %d.%08d\n",
block_index->nHeight, locked / COIN, locked % COIN, currentLimit / COIN, currentLimit % COIN,
latelyUnlocked / COIN, latelyUnlocked % COIN);
}

CCreditPool pool{locked, currentLimit, latelyUnlocked, indexes};
Expand Down

0 comments on commit a30c094

Please sign in to comment.