Skip to content

Commit

Permalink
update paymentTxId format in R4 of reward distribution tx from hex st…
Browse files Browse the repository at this point in the history
…ring to string
  • Loading branch information
RaaCT0R committed Aug 17, 2024
1 parent 285bd09 commit 2698e4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/swift-shirts-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'guard-service': major
---

change paymentTxId format in R4 from hex string to string
4 changes: 2 additions & 2 deletions src/event/EventOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ class EventOrder {
guardsOrder.push({
address: GuardsErgoConfigs.bridgeFeeRepoAddress,
assets: assets,
extra: paymentTxId,
extra: Buffer.from(paymentTxId).toString(),
});

// add emission to order
Expand Down Expand Up @@ -454,7 +454,7 @@ class EventOrder {
nativeToken: minimumErg,
tokens: guardTokens,
},
extra: paymentTxId,
extra: Buffer.from(paymentTxId).toString(),
});

// add emission to order
Expand Down

0 comments on commit 2698e4f

Please sign in to comment.