Skip to content

Commit

Permalink
Fix builders order on append (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
febo committed Jan 25, 2024
1 parent 7c03bd1 commit c450559
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thirty-pants-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@metaplex-foundation/umi': patch
---

Fix builders order on append
2 changes: 1 addition & 1 deletion packages/umi/src/TransactionBuilderGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class TransactionBuilderGroup {
): TransactionBuilderGroup {
const newBuilders = Array.isArray(builder) ? builder : [builder];
return new TransactionBuilderGroup(
[...newBuilders, ...this.builders],
[...this.builders, ...newBuilders],
this.options
);
}
Expand Down

0 comments on commit c450559

Please sign in to comment.