aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2019-04-18 12:46:07 -0700
committerPieter Wuille <[email protected]>2019-04-18 12:46:07 -0700
commitc634b1e2076d8e15a8284638475e26c691d4e100 (patch)
tree340cadff1daf07401ba8376df0a81c4110f605ec /src/policy/policy.cpp
parentMerge #15838: scripts and tools: Fetch missing review comments in github-merg... (diff)
downloaddiscoin-c634b1e2076d8e15a8284638475e26c691d4e100.tar.xz
discoin-c634b1e2076d8e15a8284638475e26c691d4e100.zip
[POLICY] Make sending to future native witness outputs standard
Diffstat (limited to 'src/policy/policy.cpp')
-rw-r--r--src/policy/policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp
index 6f8542123..63a3d0626 100644
--- a/src/policy/policy.cpp
+++ b/src/policy/policy.cpp
@@ -59,7 +59,7 @@ bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType)
std::vector<std::vector<unsigned char> > vSolutions;
whichType = Solver(scriptPubKey, vSolutions);
- if (whichType == TX_NONSTANDARD || whichType == TX_WITNESS_UNKNOWN) {
+ if (whichType == TX_NONSTANDARD) {
return false;
} else if (whichType == TX_MULTISIG) {
unsigned char m = vSolutions.front()[0];