use const ref for client_maxfeerate

This commit is contained in:
Greg Sanders
2024-03-25 08:11:38 -04:00
parent f10fd07320
commit 7b29119d79
2 changed files with 3 additions and 3 deletions

View File

@@ -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 */