aboutsummaryrefslogtreecommitdiff
path: root/src/script/descriptor.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-05-23 17:38:40 -0700
committerPieter Wuille <pieter@wuille.net>2021-05-24 12:14:16 -0700
commita4bf84039c00b196b87f969acf6369d72c56ab46 (patch)
tree93acdb7aa3dadf25b60e6c165750f3dafbde7006 /src/script/descriptor.cpp
parent41839bdb89b3777ece2318877b9c7921ecca2472 (diff)
Separate WitnessV1Taproot variant in CTxDestination
Diffstat (limited to 'src/script/descriptor.cpp')
-rw-r--r--src/script/descriptor.cpp1
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;
}