(publickey)
| 53 | |
| 54 | |
| 55 | def toOpensslPublickey(publickey): |
| 56 | publickey_bin = btctools.encode_pubkey(publickey, "bin") |
| 57 | publickey_bin = publickey_bin[1:] |
| 58 | publickey_openssl = b'\x02\xca\x00 ' + publickey_bin[:32] + b'\x00 ' + publickey_bin[32:] |
| 59 | return publickey_openssl |
no outgoing calls
no test coverage detected