(redeem: any, p2tr: any)
| 134 | } |
| 135 | |
| 136 | function createTapLeafScript(redeem: any, p2tr: any) { |
| 137 | return { |
| 138 | leafVersion: redeem.redeemVersion, |
| 139 | script: redeem.output, |
| 140 | controlBlock: p2tr.witness![p2tr.witness!.length - 1]!, |
| 141 | }; |
| 142 | } |
| 143 | |
| 144 | function addNoteInput( |
| 145 | psbt: bitcoin.Psbt, |
no outgoing calls
no test coverage detected