export function fromScriptP2SH (script: Script, network: NetworkName): string | undefined {
  if (!isScriptP2SH(script)) {
    return undefined
  }