diff --git a/server.py b/server.py index ab4ec7a..8183c5a 100644 --- a/server.py +++ b/server.py @@ -453,6 +453,12 @@ def parseDeposit(data): if 'tokenTransfers' not in tx: continue + # Search for string (TOPUP) + if 'TOPUP' in json.dumps(tx): + print("TOPUP: Skipping deposit") + print(json.dumps(tx, indent=4)) + continue + for transfer in tx['nativeTransfers']: if transfer['toUserAccount'] != str(vault_sol_address): continue