Skip to content

Commit 8d8eaa9

Browse files
committed
fix(tests): update invalid timestamp in TWAP calculation test
1 parent 0b76246 commit 8d8eaa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/hermes/server/src/state/aggregate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ mod calculate_twap_unit_tests {
15431543

15441544
#[test]
15451545
fn test_invalid_timestamps() {
1546-
let start = create_basic_twap_message(100, 100, 90, 1000);
1546+
let start = create_basic_twap_message(100, 100, 110, 1000);
15471547
let end = create_basic_twap_message(300, 200, 180, 1100);
15481548

15491549
let err = calculate_twap(&start, &end).unwrap_err();

0 commit comments

Comments
 (0)