aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/interfaces.cpp
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-05-24 12:29:51 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-07-08 11:18:35 -0300
commit198fcca162f4d2f877feab485e629ff89818ff56 (patch)
treec2d761c60589b323f811883963853326e421718d /src/wallet/interfaces.cpp
parent7a45c33d1f8a758850cf8e7bd6ad508939ba5c0d (diff)
downloadbitcoin-198fcca162f4d2f877feab485e629ff89818ff56.tar.xz
wallet: refactor, include 'FeeCalculation' inside 'CreatedTransactionResult'
Diffstat (limited to 'src/wallet/interfaces.cpp')
-rw-r--r--src/wallet/interfaces.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp
index 327276f2ed..cec103b02b 100644
--- a/src/wallet/interfaces.cpp
+++ b/src/wallet/interfaces.cpp
@@ -258,9 +258,8 @@ public:
bilingual_str& fail_reason) override
{
LOCK(m_wallet->cs_wallet);
- FeeCalculation fee_calc_out;
std::optional<CreatedTransactionResult> txr = CreateTransaction(*m_wallet, recipients, change_pos,
- fail_reason, coin_control, fee_calc_out, sign);
+ fail_reason, coin_control, sign);
if (!txr) return {};
fee = txr->fee;
change_pos = txr->change_pos;