InnerTxnBuilder Second transaction is not stored in the blockchain

Hi guys,

anybody can take a look on what i am doing wrong?

Only one transaction is always written as inner transaction when i do the app call…

When i put line 87 before, i get the opt in for the fee account, and if i have the first the transferASABase i get the opt in for the application.

The wierd thing is that the app call succeed but has only one inner appcall.

There is nothing special in those methods… stabilitas-apps/transfers.py at f420ebbc47b14490aa8982a16f26bb25179b8e4a · scholtz/stabilitas-apps · GitHub

The Approve there stabilitas-apps/transfers.py at f420ebbc47b14490aa8982a16f26bb25179b8e4a · scholtz/stabilitas-apps · GitHub immediately exits the full TEAL program.

Instead, you want to use Return that returns just from the subroutine.

I made a PR to clarify this point: Clarify that `Approve` and `Reject` always exit by fabrice102 · Pull Request #660 · algorand/pyteal · GitHub