aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorSishir Giri <sishirg27@gmail.com>2020-07-12 12:52:02 -0700
committerSishir Giri <sishirg27@gmail.com>2020-09-26 17:57:26 -0700
commitd5863c0b3e20d56acf7246008b7832efde68ab21 (patch)
tree899055a8ef8fd8a49a6a86f410144cbf8639a65f /src/interfaces
parent1b313cacc99a1b372238f9036abed5491f9d28f7 (diff)
downloadbitcoin-d5863c0b3e20d56acf7246008b7832efde68ab21.tar.xz
[send] Make send RPCs return fee reason
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/wallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp
index 94c63da84e..f68016b557 100644
--- a/src/interfaces/wallet.cpp
+++ b/src/interfaces/wallet.cpp
@@ -231,8 +231,9 @@ public:
{
LOCK(m_wallet->cs_wallet);
CTransactionRef tx;
+ FeeCalculation fee_calc_out;
if (!m_wallet->CreateTransaction(recipients, tx, fee, change_pos,
- fail_reason, coin_control, sign)) {
+ fail_reason, coin_control, fee_calc_out, sign)) {
return {};
}
return tx;