def calc_pubkey(self): unrelated = PublicKey(flags=ALL_FLAGS) self.cached_pubkey = PublicKey(pubkey=unrelated.ecdsa_recover( self.message, self.recoverable_signature))
def pubkey(self): unrelated = PublicKey(flags=ALL_FLAGS) return PublicKey(pubkey=unrelated.ecdsa_recover( self.message, self.recoverable_signature))