Add missing newlines to LogPrint debug logging

The linter only checked `LogPrintf`, not `LogPrint`.
Fix the remaining cases.
This commit is contained in:
Wladimir J. van der Laan
2018-05-02 14:50:38 +02:00
parent 598db389c3
commit ff2ad2d569
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -940,7 +940,7 @@ UniValue pruneblockchain(const JSONRPCRequest& request)
else if (height > chainHeight)
throw JSONRPCError(RPC_INVALID_PARAMETER, "Blockchain is shorter than the attempted prune height.");
else if (height > chainHeight - MIN_BLOCKS_TO_KEEP) {
LogPrint(BCLog::RPC, "Attempt to prune blocks close to the tip. Retaining the minimum number of blocks.");
LogPrint(BCLog::RPC, "Attempt to prune blocks close to the tip. Retaining the minimum number of blocks.\n");
height = chainHeight - MIN_BLOCKS_TO_KEEP;
}