diff options
| author | Sishir Giri <[email protected]> | 2020-07-12 12:52:02 -0700 |
|---|---|---|
| committer | Sishir Giri <[email protected]> | 2020-09-26 17:57:26 -0700 |
| commit | d5863c0b3e20d56acf7246008b7832efde68ab21 (patch) | |
| tree | 899055a8ef8fd8a49a6a86f410144cbf8639a65f /src/wallet/test | |
| parent | Merge #19927: validation: Reduce direct g_chainman usage (diff) | |
| download | discoin-d5863c0b3e20d56acf7246008b7832efde68ab21.tar.xz discoin-d5863c0b3e20d56acf7246008b7832efde68ab21.zip | |
[send] Make send RPCs return fee reason
Diffstat (limited to 'src/wallet/test')
| -rw-r--r-- | src/wallet/test/wallet_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index 4393bb770..c42114c39 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -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; |