def private_key_to_address(self, pk):
pub = privtopub(pk)<EOL>pub_byte, priv_byte = get_magic_bytes(self.crypto)<EOL>if priv_byte >= <NUM_LIT>:<EOL><INDENT>priv_byte -= <NUM_LIT> <EOL><DEDENT>return pubtoaddr(pub, pub_byte)<EOL>
Convert a private key (in hex format) into an address.