aboutsummaryrefslogtreecommitdiff
path: root/src/script/standard.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-05-30 10:23:21 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-21 06:40:33 -0400
commitfa95a694c492b267e4038674fd3f338dd215ab48 (patch)
tree5e4e4dbb1c6cdbb9760a6b2816cb4398a7532241 /src/script/standard.cpp
parentfa58469c770d8c935a86462634e4e8cd806aa6e3 (diff)
downloadbitcoin-fa95a694c492b267e4038674fd3f338dd215ab48.tar.xz
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/script/standard.cpp')
-rw-r--r--src/script/standard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/standard.cpp b/src/script/standard.cpp
index 2adf6ce56d..35794deafa 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);
}