aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorAurèle Oulès <aurele@oules.com>2022-07-22 14:28:18 +0200
committerAurèle Oulès <aurele@oules.com>2022-07-22 14:54:21 +0200
commit9376a6dae41022874df3b9302667796a9fb7b81d (patch)
tree32ca2777581713c8be7c2e974d3f029084e83547 /src/validation.h
parentb8067cd435059eedb580975afc62c4e7a6f27321 (diff)
downloadbitcoin-9376a6dae41022874df3b9302667796a9fb7b81d.tar.xz
refactor: make active_chain_tip a reference
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h
index a44dbd9c7a..b09051cd26 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -262,7 +262,7 @@ PackageMempoolAcceptResult ProcessNewPackage(CChainState& active_chainstate, CTx
/**
* Check if transaction will be final in the next block to be created.
*/
-bool CheckFinalTxAtTip(const CBlockIndex* active_chain_tip, const CTransaction& tx) EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
+bool CheckFinalTxAtTip(const CBlockIndex& active_chain_tip, const CTransaction& tx) EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
/**
* Check if transaction will be BIP68 final in the next block to be created on top of tip.