diff options
author | Sishir Giri <sishirg27@gmail.com> | 2020-07-12 12:52:02 -0700 |
---|---|---|
committer | Sishir Giri <sishirg27@gmail.com> | 2020-09-26 17:57:26 -0700 |
commit | d5863c0b3e20d56acf7246008b7832efde68ab21 (patch) | |
tree | 899055a8ef8fd8a49a6a86f410144cbf8639a65f /src/interfaces | |
parent | 1b313cacc99a1b372238f9036abed5491f9d28f7 (diff) |
[send] Make send RPCs return fee reason
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/wallet.cpp | 3 |
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; |