Merge pull request #8611

401dda5 wallet_api: take priority into account when estimating fee (selsta)
This commit is contained in:
luigi1111 2022-12-01 01:05:40 -06:00
commit f5d701c550
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -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_CLSAG, 0),
m_wallet->use_fork_rules(HF_VERSION_BULLETPROOF_PLUS, 0), m_wallet->use_fork_rules(HF_VERSION_BULLETPROOF_PLUS, 0),
m_wallet->use_fork_rules(HF_VERSION_VIEW_TAGS, 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()); m_wallet->get_fee_quantization_mask());
} }