diff options
author | Greg Sanders <gsanders87@gmail.com> | 2024-03-25 08:11:38 -0400 |
---|---|---|
committer | Greg Sanders <gsanders87@gmail.com> | 2024-03-25 11:52:12 -0400 |
commit | 7b29119d79efbc8c4148f350cc86531fde8b7251 (patch) | |
tree | 7187a641a323069ff080637bf994588e2d470cf0 /src/validation.h | |
parent | f10fd07320da302e8d038213c85e2b16e77d5dc2 (diff) | |
download | bitcoin-7b29119d79efbc8c4148f350cc86531fde8b7251.tar.xz |
use const ref for client_maxfeerate
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index d0f5862032..de81058033 100644 --- a/src/validation.h +++ b/src/validation.h @@ -282,7 +282,7 @@ MempoolAcceptResult AcceptToMemoryPool(Chainstate& active_chainstate, const CTra * possible for the package to be partially submitted. */ PackageMempoolAcceptResult ProcessNewPackage(Chainstate& active_chainstate, CTxMemPool& pool, - const Package& txns, bool test_accept, std::optional<CFeeRate> client_maxfeerate) + const Package& txns, bool test_accept, const std::optional<CFeeRate>& client_maxfeerate) EXCLUSIVE_LOCKS_REQUIRED(cs_main); /* Mempool validation helper functions */ |