Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/basic_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def main():

# Ensure that the wallet address and agent address are not the same
# This prevents the risk of accidentally creating an agent using the wallet itself.
if exchange.account_address != exchange.wallet.address:
if exchange.account_address == exchange.wallet.address:
raise Exception("You should not create an agent using an agent")

approve_result, agent_key = exchange.approve_agent()
Expand Down