@@ -214,7 +214,7 @@ fn test_upd_price() {
214214 assert_eq ! ( price_data. agg_. status_, PC_STATUS_TRADING ) ;
215215 }
216216
217- populate_instruction ( & mut instruction_data, 50 , 6 , 5 ) ;
217+ populate_instruction ( & mut instruction_data, 50 , 20 , 5 ) ;
218218 update_clock_slot ( & mut clock_account, 6 ) ;
219219
220220 // Publishing a wide CI results in a status of unknown.
@@ -239,7 +239,7 @@ fn test_upd_price() {
239239 {
240240 let price_data = load_checked :: < PriceAccount > ( & price_account, PC_VERSION ) . unwrap ( ) ;
241241 assert_eq ! ( price_data. comp_[ 0 ] . latest_. price_, 50 ) ;
242- assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 6 ) ;
242+ assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 20 ) ;
243243 assert_eq ! ( price_data. comp_[ 0 ] . latest_. pub_slot_, 5 ) ;
244244 assert_eq ! ( price_data. comp_[ 0 ] . latest_. status_, PC_STATUS_UNKNOWN ) ;
245245 assert_eq ! ( price_data. valid_slot_, 5 ) ;
@@ -249,7 +249,7 @@ fn test_upd_price() {
249249 }
250250
251251 // Crank one more time and aggregate should be unknown
252- populate_instruction ( & mut instruction_data, 50 , 6 , 6 ) ;
252+ populate_instruction ( & mut instruction_data, 50 , 20 , 6 ) ;
253253 update_clock_slot ( & mut clock_account, 7 ) ;
254254
255255 assert ! ( process_instruction(
@@ -266,7 +266,7 @@ fn test_upd_price() {
266266 {
267267 let price_data = load_checked :: < PriceAccount > ( & price_account, PC_VERSION ) . unwrap ( ) ;
268268 assert_eq ! ( price_data. comp_[ 0 ] . latest_. price_, 50 ) ;
269- assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 6 ) ;
269+ assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 20 ) ;
270270 assert_eq ! ( price_data. comp_[ 0 ] . latest_. pub_slot_, 6 ) ;
271271 assert_eq ! ( price_data. comp_[ 0 ] . latest_. status_, PC_STATUS_UNKNOWN ) ;
272272 assert_eq ! ( price_data. valid_slot_, 6 ) ;
0 commit comments