[send] Make send RPCs return fee reason
This commit is contained in:
1 parent
1b313cacc9
commit
d5863c0b3e
8 files changed
+60
-21
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user