aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_standard_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-05-30 10:23:21 -0400
committerMarcoFalke <[email protected]>2020-06-21 06:40:33 -0400
commitfa95a694c492b267e4038674fd3f338dd215ab48 (patch)
tree5e4e4dbb1c6cdbb9760a6b2816cb4398a7532241 /src/test/script_standard_tests.cpp
parentrpc: Properly use underlying type in GetAllOutputTypes (diff)
downloaddiscoin-fa95a694c492b267e4038674fd3f338dd215ab48.tar.xz
discoin-fa95a694c492b267e4038674fd3f338dd215ab48.zip
doc: Update outdated txnouttype documentation
Also, remove scope of txnouttype in fuzz tests temporarily. The next commit will add scopes to all txnouttype.
Diffstat (limited to 'src/test/script_standard_tests.cpp')
-rw-r--r--src/test/script_standard_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/script_standard_tests.cpp b/src/test/script_standard_tests.cpp
index b185d3b4a..05b76e597 100644
--- a/src/test/script_standard_tests.cpp
+++ b/src/test/script_standard_tests.cpp
@@ -163,7 +163,7 @@ BOOST_AUTO_TEST_CASE(script_standard_Solver_failure)
s << OP_RETURN << std::vector<unsigned char>({75}) << OP_ADD;
BOOST_CHECK_EQUAL(Solver(s, solutions), TX_NONSTANDARD);
- // TX_WITNESS with incorrect program size
+ // TX_WITNESS_UNKNOWN with incorrect program size
s.clear();
s << OP_0 << std::vector<unsigned char>(19, 0x01);
BOOST_CHECK_EQUAL(Solver(s, solutions), TX_NONSTANDARD);
@@ -227,7 +227,7 @@ BOOST_AUTO_TEST_CASE(script_standard_ExtractDestination)
BOOST_CHECK(ExtractDestination(s, address));
BOOST_CHECK(boost::get<WitnessV0ScriptHash>(&address) && *boost::get<WitnessV0ScriptHash>(&address) == scripthash);
- // TX_WITNESS with unknown version
+ // TX_WITNESS_UNKNOWN with unknown version
s.clear();
s << OP_1 << ToByteVector(pubkey);
BOOST_CHECK(ExtractDestination(s, address));