From 401dda5f105387216a187d95e6cc99d308f8575a Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 13 Oct 2022 03:35:19 +0200 Subject: [PATCH] wallet_api: take priority into account when estimating fee --- src/wallet/api/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index c4d3856d4..55db4a610 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -1782,7 +1782,7 @@ uint64_t WalletImpl::estimateTransactionFee(const std::vectoruse_fork_rules(HF_VERSION_CLSAG, 0), m_wallet->use_fork_rules(HF_VERSION_BULLETPROOF_PLUS, 0), m_wallet->use_fork_rules(HF_VERSION_VIEW_TAGS, 0), - m_wallet->get_base_fee(), + m_wallet->get_base_fee(priority), m_wallet->get_fee_quantization_mask()); }