Skip to content

Commit

Permalink
chore: divide message fee value by 100 (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuArce authored Feb 27, 2024
1 parent 79f99d9 commit a456035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm-bot/src/services/starknet.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ async def sign_invoke_transaction(call: Call, max_fee: int, rpc_node=main_rpc_no
@use_async_fallback(rpc_nodes, logger, "Failed to estimate message fee")
async def estimate_message_fee(from_address, to_address, entry_point_selector, payload, rpc_node=main_rpc_node):
fee = await rpc_node.full_node_client.estimate_message_fee(from_address, to_address, entry_point_selector, payload)
return fee.overall_fee
return int(fee.overall_fee / 100)


@use_async_fallback(rpc_nodes, logger, "Failed to send transaction")
Expand Down

0 comments on commit a456035

Please sign in to comment.