(key, main=False, **kwargs)
| 110 | return byte_to_base58(hash, version) |
| 111 | |
| 112 | def key_to_p2pkh(key, main=False, **kwargs): |
| 113 | key = check_key(key) |
| 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) |
no test coverage detected