diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-04-18 12:46:07 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2019-04-18 12:46:07 -0700 |
commit | c634b1e2076d8e15a8284638475e26c691d4e100 (patch) | |
tree | 340cadff1daf07401ba8376df0a81c4110f605ec /src/policy/policy.cpp | |
parent | 2d4f70cabd6d92aadd2fe8fe280366c391edb487 (diff) |
[POLICY] Make sending to future native witness outputs standard
Diffstat (limited to 'src/policy/policy.cpp')
-rw-r--r-- | src/policy/policy.cpp | 2 |
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]; |