Skip to content

Commit

Permalink
fix w/jj comment
Browse files Browse the repository at this point in the history
  • Loading branch information
barnjamin committed Feb 7, 2022
1 parent ab2d562 commit eb2fe50
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions daemon/algod/api/server/v2/dryrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,8 @@ func doDryrunRequest(dr *DryrunRequest, response *generated.DryrunResponse) {
ep.Debugger = &debug
pass, err := logic.Eval(stxn.Lsig.Logic, ep)
var messages []string
result.Disassembly = debug.lines // Keep backwards compat
lines := debug.lines[:]
result.LogicSigDisassembly = &lines // Also add to Lsig specific
result.Disassembly = debug.lines // Keep backwards compat
result.LogicSigDisassembly = &debug.lines // Also add to Lsig specific
result.LogicSigTrace = &debug.history
if pass {
messages = append(messages, "PASS")
Expand Down

0 comments on commit eb2fe50

Please sign in to comment.