update from_hex to parse

This commit is contained in:
Believethehype 2024-05-02 13:58:49 +02:00
parent e8c60f2fff
commit a0a2f1e881

View File

@ -113,7 +113,7 @@ def post_process_list_to_users(result):
return "No results found"
for tag in result_list:
p_tag = Tag.parse(tag)
result_str = result_str + "nostr:" + PublicKey.from_hex(
result_str = result_str + "nostr:" + PublicKey.parse(
p_tag.as_vec()[1]).to_bech32() + "\n"
return result_str