mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
More of 13697: Support output descriptors in scantxoutset
This commit is contained in:
parent
a972afdf9e
commit
21b98ba189
@ -91,6 +91,7 @@ void Check(const std::string& prv, const std::string& pub, int flags, const std:
|
|||||||
BOOST_CHECK_EQUAL(spks.size(), ref.size());
|
BOOST_CHECK_EQUAL(spks.size(), ref.size());
|
||||||
for (size_t n = 0; n < spks.size(); ++n) {
|
for (size_t n = 0; n < spks.size(); ++n) {
|
||||||
BOOST_CHECK_EQUAL(ref[n], HexStr(spks[n]));
|
BOOST_CHECK_EQUAL(ref[n], HexStr(spks[n]));
|
||||||
|
BOOST_CHECK_EQUAL(IsSolvable(Merge(key_provider, script_provider), spks[n]), (flags & UNSOLVABLE) == 0);
|
||||||
|
|
||||||
if (flags & SIGNABLE) {
|
if (flags & SIGNABLE) {
|
||||||
CMutableTransaction spend;
|
CMutableTransaction spend;
|
||||||
|
Loading…
Reference in New Issue
Block a user