mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
[test] move wallet helper functions into test library
This commit is contained in:
@@ -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>
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user