Skip to content

Commit

Permalink
fix: NEAR native timestamp precision (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
yomarion committed Oct 18, 2022
1 parent eccd486 commit 8ae22e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/payment-detection/test/near/near-native.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Near payments detection', () => {
expect(events).toHaveLength(1);

expect(events[0].amount).toBe('1000000000000000000000000');
expect(events[0].timestamp).toBe(1631788427230);
expect(events[0].timestamp).toBe(1631788427);
expect(events[0].parameters?.receiptId).toBe('FYVnCvJFoNtK7LE2uAdTFfReFMGiCUHMczLsvEni1Cpf');
expect(events[0].parameters?.txHash).toBeUndefined();
expect(events[0].parameters?.block).toBe(47891257);
Expand Down

0 comments on commit 8ae22e1

Please sign in to comment.