[test] move wallet helper functions into test library

This commit is contained in:
Martin Zumsande
2019-11-25 13:57:47 +01:00
parent f613e5dfda
commit 78e283e656
6 changed files with 11 additions and 10 deletions

View File

@@ -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>

View File

@@ -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