algoOptin: optin change @ gusc1a-ossdev-jsl5
This commit is contained in:
parent
a4e7afc1bb
commit
c16e89036d
|
@ -978,8 +978,8 @@ def approve_token_bridge(seed_amt: int, tmpl_sig: TmplSig, devMode: bool):
|
|||
@Subroutine(TealType.uint64)
|
||||
def optin():
|
||||
# Alias for readability
|
||||
algo_seed = Gtxn[0]
|
||||
optin = Gtxn[1]
|
||||
algo_seed = Gtxn[Txn.group_index() - Int(1)]
|
||||
optin = Txn
|
||||
|
||||
well_formed_optin = And(
|
||||
# Check that we're paying it
|
||||
|
|
Loading…
Reference in New Issue