Skip to content

Commit

Permalink
Merge pull request #31 from RcrossF/main
Browse files Browse the repository at this point in the history
Don't allow opting into ALGO
  • Loading branch information
gokselcoban authored Nov 16, 2022
2 parents cc65260 + ee70a08 commit 7b1cdc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tinyman/v1/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def prepare_app_optin_transactions(self, user_address=None):
return txn_group

def prepare_asset_optin_transactions(self, asset_id, user_address=None):
assert asset_id != 0, "Cannot opt into ALGO"
user_address = user_address or self.user_address
suggested_params = self.algod.suggested_params()
txn_group = prepare_asset_optin_transactions(
Expand Down

0 comments on commit 7b1cdc0

Please sign in to comment.