Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Feb 26, 2025
1 parent ce7c54e commit 3ec1770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prediction_market_agent_tooling/markets/omen/omen.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def redeem_winnings(api_keys: APIKeys) -> None:

@staticmethod
def get_trade_balance(api_keys: APIKeys, web3: Web3 | None = None) -> xDai:
native_token_balance = get_balances(api_keys.public_key, web3=web3).xdai
native_token_balance = get_balances(api_keys.bet_from_address, web3=web3).xdai
return xdai_type(
wei_to_xdai(
KEEPING_ERC20_TOKEN.balanceOf(api_keys.bet_from_address, web3=web3)
Expand Down

0 comments on commit 3ec1770

Please sign in to comment.