Skip to content

Commit

Permalink
fix: correctly parse snapshot confirmed messages
Browse files Browse the repository at this point in the history
  • Loading branch information
yHSJ committed Dec 8, 2024
1 parent cba2682 commit fb91801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/hydra-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class Hydra {
break;
case "SnapshotConfirmed":
{
for (const txid of data.snapshot.confirmed) {
for (const txid of data.snapshot.confirmedTransactions) {
if (!this.tx_timings[txid]?.sent) {
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/hydra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class Hydra {
break;
case "SnapshotConfirmed":
{
for (const txid of data.snapshot.confirmed) {
for (const txid of data.snapshot.confirmedTransactions) {
if (!this.tx_timings[txid]?.sent) {
continue;
}
Expand Down

0 comments on commit fb91801

Please sign in to comment.