(reasons: string[])
| 281 | } |
| 282 | |
| 283 | export function toRegExp(reasons: string[]): RegExp { |
| 284 | return new RegExp(reasons.join('|').replace(/\(/g, '\\(').replace(/\)/g, '\\)')); |
| 285 | } |
| 286 | |
| 287 | export function scriptToAddress( |
| 288 | script: Script, network: string, addressType: AddressType, tokenSupport: boolean, |