[send] Make send RPCs return fee reason

This commit is contained in:
Sishir Giri committed 2020-09-26 17:57:26 -07:00
1 parent 1b313cacc9
commit d5863c0b3e
8 files changed
+60 -21

No files matched your search

+2 -1
View File
@@ -524,8 +524,9 @@ public:
int changePos = -1;
bilingual_str error;
CCoinControl dummy;
FeeCalculation fee_calc_out;
{
BOOST_CHECK(wallet->CreateTransaction({recipient}, tx, fee, changePos, error, dummy));
BOOST_CHECK(wallet->CreateTransaction({recipient}, tx, fee, changePos, error, dummy, fee_calc_out));
}
wallet->CommitTransaction(tx, {}, {});
CMutableTransaction blocktx;