From ccf8f04eb4cf37d40bf2caac06c8e6ec5268362e Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 12 Apr 2024 21:05:05 +0100 Subject: [PATCH] Go --- program/rust/src/tests/test_upd_price_no_fail_on_error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/rust/src/tests/test_upd_price_no_fail_on_error.rs b/program/rust/src/tests/test_upd_price_no_fail_on_error.rs index 3d0998eb..daf8d715 100644 --- a/program/rust/src/tests/test_upd_price_no_fail_on_error.rs +++ b/program/rust/src/tests/test_upd_price_no_fail_on_error.rs @@ -123,7 +123,7 @@ fn test_upd_price_no_fail_on_error_no_fail_on_error() { assert_eq!(price_data.agg_.status_, PC_STATUS_TRADING); } - // Invalid updates, such as publishing a price component with a pub_slot_ that's lower or equal than the price component stored in the program + // Invalid updates, such as publishing a price update with a pub_slot_ that's lower or equal than one that's already been published (by the same publisher), // should still fail silently and have no effect. // Check that the normal upd_price fails