Skip to content

Commit

Permalink
Merge branch '395-update-paymenttxid-format' into 'dev'
Browse files Browse the repository at this point in the history
update paymentTxId format in R4 of reward distribution tx from hex string to string

Closes #395

See merge request ergo/rosen-bridge/guard-service!380
  • Loading branch information
vorujack committed Aug 17, 2024
2 parents 285bd09 + 2698e4f commit 6481b19
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 6481b19

Please sign in to comment.