mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 16:13:09 +02:00
[send] Make send RPCs return fee reason
This commit is contained in:
@@ -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