From a0a2f1e881e42fa9200dc93e7a2212b8c3c6f830 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Thu, 2 May 2024 13:58:49 +0200 Subject: [PATCH] update from_hex to parse --- nostr_dvm/utils/output_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostr_dvm/utils/output_utils.py b/nostr_dvm/utils/output_utils.py index 69a4df4..67f52b2 100644 --- a/nostr_dvm/utils/output_utils.py +++ b/nostr_dvm/utils/output_utils.py @@ -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