fix follow move
This commit is contained in:
parent
1ad6cf379a
commit
ec56e74072
@ -165,10 +165,10 @@ async def transaction_notified(wallet, tx_signature):
|
|||||||
# Process the transaction
|
# Process the transaction
|
||||||
# tr = await get_swap_transaction_details(tx_signature)
|
# tr = await get_swap_transaction_details(tx_signature)
|
||||||
tr = await get_transaction_details_info(tx_signature, [])
|
tr = await get_transaction_details_info(tx_signature, [])
|
||||||
get_token_metadata_symbol(tr)
|
|
||||||
# ToDo - probably optimize
|
# ToDo - probably optimize
|
||||||
await follow_move(tr['token_in'])
|
await get_token_metadata_symbol(tr['token_in'])
|
||||||
await follow_move(tr['token_out'])
|
await get_token_metadata_symbol(tr['token_out'])
|
||||||
|
await follow_move(tr)
|
||||||
await save_token_info()
|
await save_token_info()
|
||||||
return jsonify(tr), 200
|
return jsonify(tr), 200
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user