Skip to content

Commit

Permalink
Merge branch '395-update-paymenttxid-format' into 'dev'
Browse files Browse the repository at this point in the history
fix paymentTxId format in EventOrder

Closes #395

See merge request ergo/rosen-bridge/guard-service!381
  • Loading branch information
vorujack committed Aug 19, 2024
2 parents 6481b19 + 4636d1e commit 9986e27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/twelve-lobsters-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
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: Buffer.from(paymentTxId).toString(),
extra: Buffer.from(paymentTxId).toString('hex'),
});

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

// add emission to order
Expand Down

0 comments on commit 9986e27

Please sign in to comment.