diff options
| author | Alex Morcos <[email protected]> | 2017-06-28 16:41:55 -0400 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-07-14 23:07:18 -0400 |
| commit | ecd81dfa3cae4cc1ae3638becfbefc76829ada04 (patch) | |
| tree | a33077879778ef5c84ab332b515d8a440269386e /src/wallet/test/wallet_tests.cpp | |
| parent | Merge #10769: [Qt] replace fee slider with a Dropdown, extend conf. targets (diff) | |
| download | discoin-ecd81dfa3cae4cc1ae3638becfbefc76829ada04.tar.xz discoin-ecd81dfa3cae4cc1ae3638becfbefc76829ada04.zip | |
Make CoinControl a required argument to CreateTransaction
Diffstat (limited to 'src/wallet/test/wallet_tests.cpp')
| -rw-r--r-- | src/wallet/test/wallet_tests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index 96a1b14b6..8176a0017 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -13,6 +13,7 @@ #include "rpc/server.h" #include "test/test_bitcoin.h" #include "validation.h" +#include "wallet/coincontrol.h" #include "wallet/test/wallet_test_fixture.h" #include <boost/test/unit_test.hpp> @@ -617,7 +618,8 @@ public: CAmount fee; int changePos = -1; std::string error; - BOOST_CHECK(wallet->CreateTransaction({recipient}, wtx, reservekey, fee, changePos, error)); + CCoinControl dummy; + BOOST_CHECK(wallet->CreateTransaction({recipient}, wtx, reservekey, fee, changePos, error, dummy)); CValidationState state; BOOST_CHECK(wallet->CommitTransaction(wtx, reservekey, nullptr, state)); auto it = wallet->mapWallet.find(wtx.GetHash()); |