(output: string)
| 260 | } |
| 261 | |
| 262 | function toBin(output: string): Uint8Array { |
| 263 | const data = output.replace(/^0x/, ''); |
| 264 | const encode = data === output ? utf8ToBin : hexToBin; |
| 265 | return encode(data); |
| 266 | } |
| 267 | |
| 268 | export function createSighashPreimage( |
| 269 | transaction: Transaction, |
no outgoing calls
no test coverage detected