aboutsummaryrefslogtreecommitdiff
path: root/src/script/standard.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/script/standard.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/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 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);
}