From fa95a694c492b267e4038674fd3f338dd215ab48 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sat, 30 May 2020 10:23:21 -0400 Subject: doc: Update outdated txnouttype documentation Also, remove scope of txnouttype in fuzz tests temporarily. The next commit will add scopes to all txnouttype. --- src/script/standard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/standard.cpp') diff --git a/src/script/standard.cpp b/src/script/standard.cpp index 2adf6ce56..35794deaf 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -56,7 +56,7 @@ std::string GetTxnOutputType(txnouttype t) case TX_WITNESS_V0_KEYHASH: return "witness_v0_keyhash"; case TX_WITNESS_V0_SCRIPTHASH: return "witness_v0_scripthash"; case TX_WITNESS_UNKNOWN: return "witness_unknown"; - } + } // no default case, so the compiler can warn about missing cases assert(false); } -- cgit v1.2.3