diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-05-23 17:38:40 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-05-24 12:14:16 -0700 |
commit | a4bf84039c00b196b87f969acf6369d72c56ab46 (patch) | |
tree | 93acdb7aa3dadf25b60e6c165750f3dafbde7006 /src/script/descriptor.cpp | |
parent | 41839bdb89b3777ece2318877b9c7921ecca2472 (diff) |
Separate WitnessV1Taproot variant in CTxDestination
Diffstat (limited to 'src/script/descriptor.cpp')
-rw-r--r-- | src/script/descriptor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index 19fad1009e..d4b43932b9 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -645,6 +645,7 @@ static std::optional<OutputType> OutputTypeFromDestination(const CTxDestination& } if (std::holds_alternative<WitnessV0KeyHash>(dest) || std::holds_alternative<WitnessV0ScriptHash>(dest) || + std::holds_alternative<WitnessV1Taproot>(dest) || std::holds_alternative<WitnessUnknown>(dest)) { return OutputType::BECH32; } |