Reclaim Issue
Describes problem with the reclaim path
Pinning this down in the uasu code but its the same problem for sBTC
Problem statement
Leather wallet fails to match the public key generated from its private key with the public key in the script path spend that allow users to reclaim after 144 blocks.
Initial Flow
Funding transaction is created and broadcast - users taproot public key (x-only) is used to create a reclaim spending script path
Reclaim flow
Transaction created that spends the output from above
psbt passed to users leather wallet
leather wallet calls btc-signer with the users private key
btc-signer regenerates the publc key using
schnorr.getPublicKey(priv)
the genrated public key is not the same as the public key in the script path spend
the btc-signer fails to locate the public key and defers signing
Wallet throws `Unable to sign PSBT at index, Error: No taproot scripts signed`
Last updated