diff options
author | Martin Zumsande <mzumsande@gmail.com> | 2019-11-25 13:57:47 +0100 |
---|---|---|
committer | Martin Zumsande <mzumsande@gmail.com> | 2019-11-25 16:40:09 +0100 |
commit | 78e283e656bf1643944ffdb76185f3468eb25895 (patch) | |
tree | a80dd0ba15cf71e5d92709cf30d96d35cc403365 /src/test | |
parent | f613e5dfdafe708f63ebb5193c44e2bc770c6651 (diff) | |
download | bitcoin-78e283e656bf1643944ffdb76185f3468eb25895.tar.xz |
[test] move wallet helper functions into test library
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/util/wallet.cpp (renamed from src/test/util.cpp) | 2 | ||||
-rw-r--r-- | src/test/util/wallet.h (renamed from src/test/util.h) | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/test/util.cpp b/src/test/util/wallet.cpp index e775ad323b..226d2df6e4 100644 --- a/src/test/util.cpp +++ b/src/test/util/wallet.cpp @@ -2,7 +2,7 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include <test/util.h> +#include <test/util/wallet.h> #include <key_io.h> #include <outputtype.h> diff --git a/src/test/util.h b/src/test/util/wallet.h index 7adeaea772..565ef1756a 100644 --- a/src/test/util.h +++ b/src/test/util/wallet.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_TEST_UTIL_H -#define BITCOIN_TEST_UTIL_H +#ifndef BITCOIN_TEST_UTIL_WALLET_H +#define BITCOIN_TEST_UTIL_WALLET_H #include <string> @@ -20,4 +20,5 @@ void importaddress(CWallet& wallet, const std::string& address); /** Returns a new address from the wallet */ std::string getnewaddress(CWallet& w); -#endif // BITCOIN_TEST_UTIL_H + +#endif // BITCOIN_TEST_UTIL_WALLET_H |