diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-03-04 19:48:32 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-19 02:39:45 +0300 |
commit | 2bec309ad6d0f2543948d64ed26f7d9a903f67e5 (patch) | |
tree | 79821c9506be0209c3863b67596406b94f6d91c0 /src/rpc/blockchain.h | |
parent | 1df77014d8bb733d7d89e36b28671cb47f436292 (diff) |
refactor: Remove unused bool parameter in RPCNotifyBlockChange()
Diffstat (limited to 'src/rpc/blockchain.h')
-rw-r--r-- | src/rpc/blockchain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h index a02e5fae0e..54165af707 100644 --- a/src/rpc/blockchain.h +++ b/src/rpc/blockchain.h @@ -30,7 +30,7 @@ static constexpr int NUM_GETBLOCKSTATS_PERCENTILES = 5; double GetDifficulty(const CBlockIndex* blockindex); /** Callback for when block tip changed. */ -void RPCNotifyBlockChange(bool ibd, const CBlockIndex *); +void RPCNotifyBlockChange(const CBlockIndex*); /** Block description to JSON */ UniValue blockToJSON(const CBlock& block, const CBlockIndex* tip, const CBlockIndex* blockindex, bool txDetails = false) LOCKS_EXCLUDED(cs_main); |