mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-06-17 20:00:55 +02:00
update from_hex to parse
This commit is contained in:
parent
e8c60f2fff
commit
a0a2f1e881
@ -113,7 +113,7 @@ def post_process_list_to_users(result):
|
|||||||
return "No results found"
|
return "No results found"
|
||||||
for tag in result_list:
|
for tag in result_list:
|
||||||
p_tag = Tag.parse(tag)
|
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"
|
p_tag.as_vec()[1]).to_bech32() + "\n"
|
||||||
return result_str
|
return result_str
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user