Skip to content

Commit

Permalink
only FixSigners in AfterProgram for outer app calls
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Jun 4, 2024
1 parent 8fa89c6 commit 89c20b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/simulation/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ func (tracer *evalTracer) AfterProgram(cx *logic.EvalContext, pass bool, evalErr

// Since an app could rekey multiple accounts, we need to go over the
// rest of the txngroup and make sure all the auth addrs are correct
if tracer.result.EvalOverrides.FixSigners {
if tracer.result.EvalOverrides.FixSigners && len(tracer.relativeCursor) == 1 {
knownAuthAddrs := make(map[basics.Address]basics.Address)
// iterate over all txns in the group after this one
for i := groupIndex + 1; i < len(cx.TxnGroup); i++ {
Expand Down

0 comments on commit 89c20b5

Please sign in to comment.