mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-12-18 19:21:09 +01:00
Update content_discovery_currently_popular_by_top_zaps.py
This commit is contained in:
@@ -139,7 +139,7 @@ class DicoverContentCurrentlyPopularZaps(DVMTaskInterface):
|
|||||||
if len(reactions) >= self.min_reactions:
|
if len(reactions) >= self.min_reactions:
|
||||||
for reaction in reactions:
|
for reaction in reactions:
|
||||||
for tag in reaction.tags():
|
for tag in reaction.tags():
|
||||||
print(tag.as_vec())
|
#print(tag.as_vec())
|
||||||
if tag.as_vec()[0] == 'bolt11':
|
if tag.as_vec()[0] == 'bolt11':
|
||||||
#print(tag.as_vec()[1])
|
#print(tag.as_vec()[1])
|
||||||
invoice_amount = parse_amount_from_bolt11_invoice(tag.as_vec()[1])
|
invoice_amount = parse_amount_from_bolt11_invoice(tag.as_vec()[1])
|
||||||
|
|||||||
Reference in New Issue
Block a user