mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 17:54:19 +02:00
[POLICY] Make sending to future native witness outputs standard
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user