@@ -211,7 +211,7 @@ fn test_upd_price() {
211211 assert_eq ! ( price_data. agg_. status_, PC_STATUS_TRADING ) ;
212212 }
213213
214- populate_instruction ( & mut instruction_data, 50 , 6 , 5 ) ;
214+ populate_instruction ( & mut instruction_data, 50 , 20 , 5 ) ;
215215 update_clock_slot ( & mut clock_account, 6 ) ;
216216
217217 // Publishing a wide CI results in a status of unknown.
@@ -236,7 +236,7 @@ fn test_upd_price() {
236236 {
237237 let price_data = load_checked :: < pc_price_t > ( & price_account, PC_VERSION ) . unwrap ( ) ;
238238 assert_eq ! ( price_data. comp_[ 0 ] . latest_. price_, 50 ) ;
239- assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 6 ) ;
239+ assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 20 ) ;
240240 assert_eq ! ( price_data. comp_[ 0 ] . latest_. pub_slot_, 5 ) ;
241241 assert_eq ! ( price_data. comp_[ 0 ] . latest_. status_, PC_STATUS_UNKNOWN ) ;
242242 assert_eq ! ( price_data. valid_slot_, 5 ) ;
@@ -246,7 +246,7 @@ fn test_upd_price() {
246246 }
247247
248248 // Crank one more time and aggregate should be unknown
249- populate_instruction ( & mut instruction_data, 50 , 6 , 6 ) ;
249+ populate_instruction ( & mut instruction_data, 50 , 20 , 6 ) ;
250250 update_clock_slot ( & mut clock_account, 7 ) ;
251251
252252 assert ! ( upd_price(
@@ -263,7 +263,7 @@ fn test_upd_price() {
263263 {
264264 let price_data = load_checked :: < pc_price_t > ( & price_account, PC_VERSION ) . unwrap ( ) ;
265265 assert_eq ! ( price_data. comp_[ 0 ] . latest_. price_, 50 ) ;
266- assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 6 ) ;
266+ assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 20 ) ;
267267 assert_eq ! ( price_data. comp_[ 0 ] . latest_. pub_slot_, 6 ) ;
268268 assert_eq ! ( price_data. comp_[ 0 ] . latest_. status_, PC_STATUS_UNKNOWN ) ;
269269 assert_eq ! ( price_data. valid_slot_, 6 ) ;
0 commit comments