aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-12-01 01:05:40 -0600
committerluigi1111 <luigi1111w@gmail.com>2022-12-01 01:05:40 -0600
commitf5d701c5501035cfb2e8750d1bd46274e85eb24b (patch)
tree1f9896e035f2db103017abdaaaf7db1151e42882 /src
parentMerge pull request #8604 (diff)
parentwallet_api: take priority into account when estimating fee (diff)
downloadmonero-f5d701c5501035cfb2e8750d1bd46274e85eb24b.tar.xz
Merge pull request #8611
401dda5 wallet_api: take priority into account when estimating fee (selsta)
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());
}