diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-30 10:23:21 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-21 06:40:33 -0400 |
commit | fa95a694c492b267e4038674fd3f338dd215ab48 (patch) | |
tree | 5e4e4dbb1c6cdbb9760a6b2816cb4398a7532241 /src/script/standard.cpp | |
parent | fa58469c770d8c935a86462634e4e8cd806aa6e3 (diff) |
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.cpp | 2 |
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); } |