generated from nathanwoodburn/python-webserver-template
fix: Update topup search to not need memo message
All checks were successful
Build Docker / BuildImage (push) Successful in 38s
All checks were successful
Build Docker / BuildImage (push) Successful in 38s
This commit is contained in:
parent
2734cddbde
commit
1c2cb23b15
@ -453,9 +453,9 @@ def parseDeposit(data):
|
||||
if 'tokenTransfers' not in tx:
|
||||
continue
|
||||
|
||||
# Search for string (TOPUP)
|
||||
if 'TOPUP' in json.dumps(tx):
|
||||
print("TOPUP: Skipping deposit")
|
||||
# Skip memo txs
|
||||
if 'Memo' in json.dumps(tx):
|
||||
print("Skipping deposit as it contains memo")
|
||||
print(json.dumps(tx, indent=4))
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user