aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2019-04-18 12:46:07 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2019-04-18 12:46:07 -0700
commitc634b1e2076d8e15a8284638475e26c691d4e100 (patch)
tree340cadff1daf07401ba8376df0a81c4110f605ec /src/policy
parent2d4f70cabd6d92aadd2fe8fe280366c391edb487 (diff)
[POLICY] Make sending to future native witness outputs standard
Diffstat (limited to 'src/policy')
-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 6f8542123d..63a3d06267 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];