From d5705579208db4a5b35984e56c10842eee29da5a Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 5 Jan 2020 13:17:40 +0300 Subject: [PATCH] Fix whitespaces to make linter happy --- src/rpc/blockchain.cpp | 2 +- src/validation.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index cd2f2269c7..b3b15bf386 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1816,7 +1816,7 @@ UniValue getchaintxstats(const JSONRPCRequest& request) pindex = chainActive.Tip(); } } - + assert(pindex != nullptr); if (blockcount < 1 || blockcount >= pindex->nHeight) { diff --git a/src/validation.cpp b/src/validation.cpp index 07497e2a75..9f7c2d3ab3 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -291,7 +291,7 @@ bool CheckSequenceLocks(const CTransaction &tx, int flags, LockPoints* lp, bool CBlockIndex* tip = chainActive.Tip(); assert(tip != nullptr); - + CBlockIndex index; index.pprev = tip; // CheckSequenceLocks() uses chainActive.Height()+1 to evaluate