aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2022-10-13 03:35:19 +0200
committerselsta <selsta@sent.at>2022-10-13 03:36:51 +0200
commit401dda5f105387216a187d95e6cc99d308f8575a (patch)
tree67367b2e8471ff7a5c26a8a00793e04cf43c9eac /src
parentMerge pull request #8588 (diff)
downloadmonero-401dda5f105387216a187d95e6cc99d308f8575a.tar.xz
wallet_api: take priority into account when estimating fee
Diffstat (limited to 'src')
-rw-r--r--src/wallet/api/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
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::vector<std::pair<std::str
m_wallet->use_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());
}