Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
requestRedemption
fn in threshold-ts lib
In the dapp in redemption flow the user needs to provide the BTC address that the redeemed funds will be locked to but the `requestRedemption` fn from `tbtc-v2.ts` lib expects the output script. Here we allow to pass the BTC address to our implementation of the `requestRedemption` fn and we convert the BTC address into otput script under the hood using the `createOutputScriptFromAddress` helper function from the `tbtc-v2.ts` lib.
- Loading branch information