Skip to content

Commit

Permalink
Minor fixes, improve notifications output
Browse files Browse the repository at this point in the history
  • Loading branch information
klimoza committed Jul 21, 2022
1 parent 3ae9ff1 commit 088a690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def get_new_transactions(net):
nm[(owner_id, collection)] = nm.setdefault((owner_id, collection), 0) + 1

for ((owner_id, collection), num) in nm.items():
if num == 1:
if num != 1:
msg = f"NFT MINTED!\n<b>{owner_id}</b> just minted {num} NFT's from <b>{collection}</b> collection on {net}"
else:
msg = f"NFT MINTED!\n<b>{owner_id}</b> just minted NFT from <b>{collection}</b> collection on {net}"
Expand Down

0 comments on commit 088a690

Please sign in to comment.