unisat-wallet / extension

The first open-source browser extension wallet for Bitcoin NFTs
Other
804 stars 306 forks source link

Can not sign PSBT for Taproot key-path spend. #209

Open waiemwor opened 1 week ago

waiemwor commented 1 week ago

I want do key-path spend a UTXO with Taproot address that used Unisat account public key as the internal key but the extension threw error -32603 shown below.

Screenshot 2567-06-26 at 14 09 25

I tried setting disableTweakSigner to both true and false but it still threw the same error. The same taproot address can be spent using Taproot script path from Unisat just fine.

Here's the PSBT I used for Taproot key path.

Screenshot 2567-06-26 at 14 10 44