diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/util.cpp | 3 | ||||
-rw-r--r-- | src/test/util.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/test/util.cpp b/src/test/util.cpp index 7c348c5b25..05d3a97a59 100644 --- a/src/test/util.cpp +++ b/src/test/util.cpp @@ -22,6 +22,8 @@ #include <boost/thread.hpp> +const std::string ADDRESS_BCRT1_UNSPENDABLE = "bcrt1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq3xueyj"; + #ifdef ENABLE_WALLET std::string getnewaddress(CWallet& w) { @@ -75,7 +77,6 @@ CTxIn MineBlock(const CScript& coinbase_scriptPubKey) return CTxIn{block->vtx[0]->GetHash(), 0}; } - std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey) { auto block = std::make_shared<CBlock>( diff --git a/src/test/util.h b/src/test/util.h index e51e924f65..8ba647ec3f 100644 --- a/src/test/util.h +++ b/src/test/util.h @@ -13,6 +13,10 @@ class CScript; class CTxIn; class CWallet; +// Constants // + +extern const std::string ADDRESS_BCRT1_UNSPENDABLE; + // Lower-level utils // /** Returns the generated coin */ |