fixes
This commit is contained in:
@ -237,7 +237,8 @@ def init_app(tr_handler=None):
|
||||
token_out = token_outputs[0]
|
||||
tr["token_out"] = token_out["mint"]
|
||||
tr["token_out_decimals"] = get_decimals(token_out)
|
||||
|
||||
tr["amount_out"] = calculate_amount(token_out)
|
||||
|
||||
# Store transaction in database
|
||||
if tr["type"] in ["BUY", "SELL"]:
|
||||
is_buy = tr["type"] == "BUY"
|
||||
|
Reference in New Issue
Block a user