Skip to content

Commit

Permalink
patch: eval update redeemers in tw
Browse files Browse the repository at this point in the history
  • Loading branch information
micahkendall committed Sep 8, 2024
1 parent 4b45f1d commit e12d65e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-buses-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blaze-cardano/tx": patch
---

patch: eval update redeemers in tw
2 changes: 2 additions & 0 deletions packages/blaze-tx/src/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1509,6 +1509,8 @@ export class TxBuilder {
if (evaluationFee > 0) {
evaluationFee = await this.evaluate(draft_tx);
this.fee += evaluationFee - oldEvaluationFee;
tw.setRedeemers(this.redeemers);
draft_tx.setWitnessSet(tw);
if (evaluationFee > oldEvaluationFee) {
continue;
}
Expand Down

0 comments on commit e12d65e

Please sign in to comment.