Skip to content

Commit fc0a4b4

Browse files
committed
Make wallet2::estimate_fee static
1 parent cc73fe7 commit fc0a4b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wallet/wallet2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7938,7 +7938,7 @@ bool wallet2::sign_multisig_tx_from_file(const std::string &filename, std::vecto
79387938
return sign_multisig_tx_to_file(exported_txs, filename, txids);
79397939
}
79407940
//----------------------------------------------------------------------------------------------------
7941-
uint64_t wallet2::estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask) const
7941+
uint64_t wallet2::estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask)
79427942
{
79437943
if (use_per_byte_fee)
79447944
{

src/wallet/wallet2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ namespace tools
15491549
std::vector<std::pair<uint64_t, uint64_t>> estimate_backlog(const std::vector<std::pair<double, double>> &fee_levels);
15501550
std::vector<std::pair<uint64_t, uint64_t>> estimate_backlog(uint64_t min_tx_weight, uint64_t max_tx_weight, const std::vector<uint64_t> &fees);
15511551

1552-
uint64_t estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask) const;
1552+
static uint64_t estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask);
15531553
uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm = -1);
15541554
uint64_t get_base_fee(uint32_t priority);
15551555
uint64_t get_base_fee();

0 commit comments

Comments
 (0)