Skip to content

Commit

Permalink
Merge branch '414-fix-scanned-event-status' into 'dev'
Browse files Browse the repository at this point in the history
fix event status when event is just scanned

Closes #414

See merge request ergo/rosen-bridge/guard-service!420
  • Loading branch information
vorujack committed Nov 21, 2024
2 parents 0f4ee54 + 923667c commit bdf8586
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/moody-beers-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'guard-service': patch
---

Fix event status when event is just scanned
2 changes: 1 addition & 1 deletion src/api/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const eventsHistoryRoute = (server: FastifySeverInstance) => {
sourceTxId: event.sourceTxId,
paymentTxId: event.paymentTxId ?? '',
rewardTxId: event.spendTxId ?? '',
status: event.result ?? event.status,
status: event.result ?? event.status ?? 'not confirmed yet',
};
});

Expand Down

0 comments on commit bdf8586

Please sign in to comment.