Skip to content

Commit

Permalink
Move back extra outputs at the _end_
Browse files Browse the repository at this point in the history
  For rapid testing, I originally change the way extra outputs (i.e. the change output) were added to the transaction to match the same convention used by the PAB. That is, the PAB have them by default as the first output of every transaction, and contract traces are built with this assumption in mind.
  However, having them at the beginning is really not handy, since there may be in practice more than one change output! It is thus easier to append them to existing outputs, and have contracts works from a 0-based index instead.
  • Loading branch information
KtorZ committed Oct 14, 2021
1 parent ad80829 commit 3b710bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.

0 comments on commit 3b710bc

Please sign in to comment.