wallet_api: take priority into account when estimating fee

This commit is contained in:
selsta 2022-10-13 03:35:19 +02:00
parent 1f27fdf6a5
commit 401dda5f10
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

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_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());
}