(script, main=False, prefix=75)
| 114 | return keyhash_to_p2pkh(hash160(key), main, **kwargs) |
| 115 | |
| 116 | def script_to_p2sh(script, main=False, prefix=75): |
| 117 | script = check_script(script) |
| 118 | return scripthash_to_p2sh(hash160(script), main, prefix) |
| 119 | |
| 120 | def key_to_p2sh_p2wpkh(key, main=False, **kwargs): |
| 121 | key = check_key(key) |
no test coverage detected