mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Move ismine to wallet module
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <script/script_error.h>
|
||||
#include <policy/settings.h>
|
||||
#include <script/sign.h>
|
||||
#include <script/ismine.h>
|
||||
#include <test/setup_common.h>
|
||||
|
||||
#include <vector>
|
||||
@@ -98,7 +97,6 @@ BOOST_AUTO_TEST_CASE(sign)
|
||||
txTo[i].vin[0].prevout.n = i;
|
||||
txTo[i].vin[0].prevout.hash = txFrom.GetHash();
|
||||
txTo[i].vout[0].nValue = 1;
|
||||
BOOST_CHECK_MESSAGE(IsMine(keystore, txFrom.vout[i].scriptPubKey), strprintf("IsMine %d", i));
|
||||
}
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
@@ -195,7 +193,6 @@ BOOST_AUTO_TEST_CASE(set)
|
||||
txTo[i].vin[0].prevout.hash = txFrom.GetHash();
|
||||
txTo[i].vout[0].nValue = 1*CENT;
|
||||
txTo[i].vout[0].scriptPubKey = inner[i];
|
||||
BOOST_CHECK_MESSAGE(IsMine(keystore, txFrom.vout[i].scriptPubKey), strprintf("IsMine %d", i));
|
||||
}
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user