wallet: add taproot support to external signer

This commit is contained in:
Sjors Provoost
2022-05-20 09:54:41 +02:00
parent 5bf65ec66e
commit 796b020c37
3 changed files with 21 additions and 7 deletions

View File

@@ -81,6 +81,9 @@ bool ExternalSigner::SignTransaction(PartiallySignedTransaction& psbtx, std::str
for (const auto& entry : input.hd_keypaths) {
if (parsed_m_fingerprint == MakeUCharSpan(entry.second.fingerprint)) return true;
}
for (const auto& entry : input.m_tap_bip32_paths) {
if (parsed_m_fingerprint == MakeUCharSpan(entry.second.second.fingerprint)) return true;
}
return false;
};