Skip to content

Commit 59489ec

Browse files
committed
fix(tests): correct invalid timestamp in TWAP calculation test
1 parent c702205 commit 59489ec

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
@@ -1538,7 +1538,7 @@ mod calculate_twap_unit_tests {
15381538

15391539
#[test]
15401540
fn test_invalid_timestamps() {
1541-
let start = create_basic_twap_message(100, 100, 90, 1000);
1541+
let start = create_basic_twap_message(100, 100, 110, 1000);
15421542
let end = create_basic_twap_message(300, 200, 180, 1100);
15431543

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

0 commit comments

Comments
 (0)