Skip to content

Commit

Permalink
fix some
Browse files Browse the repository at this point in the history
  • Loading branch information
yoozo committed Feb 12, 2025
1 parent 03df351 commit efbe2ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export async function handleEvent(event: SorobanEvent): Promise<void> {
contract: event.contractId?.contractId().toString()!,
fromId: fromAccount.id,
toId: toAccount.id,
value: BigInt(event.value.decoded!),
value: BigInt(event.value.i64().toString()),
});

fromAccount.lastSeenLedger = event.ledger!.sequence;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export async function handleEvent(event: SorobanEvent): Promise<void> {
contract: event.contractId?.contractId().toString()!,
fromId: fromAccount.id,
toId: toAccount.id,
value: BigInt(event.value.decoded!),
value: BigInt(event.value.i64().toString()),
});

fromAccount.lastSeenLedger = event.ledger!.sequence;
Expand Down

0 comments on commit efbe2ea

Please sign in to comment.