Skip to content

Commit 6b4228e

Browse files
committed
Preserve blinding key when parsing taproot address.
1 parent 285a18d commit 6b4228e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/key_io.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ CTxDestination DecodeDestination(const std::string& str, const CChainParams& par
323323
static_assert(WITNESS_V1_TAPROOT_SIZE == WitnessV1Taproot::size());
324324
WitnessV1Taproot tap;
325325
std::copy(data.begin(), data.end(), tap.begin());
326+
tap.blinding_pubkey = blinding_pubkey;
326327
return tap;
327328
}
328329

0 commit comments

Comments
 (0)