Skip to content

Commit 84431e3

Browse files
yomarionolivier7delf
authored andcommitted
fix: NEAR native timestamp precision (#963)
1 parent ee220e2 commit 84431e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/payment-detection/test/near/near-native.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('Near payments detection', () => {
6464
expect(events).toHaveLength(1);
6565

6666
expect(events[0].amount).toBe('1000000000000000000000000');
67-
expect(events[0].timestamp).toBe(1631788427230);
67+
expect(events[0].timestamp).toBe(1631788427);
6868
expect(events[0].parameters?.receiptId).toBe('FYVnCvJFoNtK7LE2uAdTFfReFMGiCUHMczLsvEni1Cpf');
6969
expect(events[0].parameters?.txHash).toBeUndefined();
7070
expect(events[0].parameters?.block).toBe(47891257);

0 commit comments

Comments
 (0)