File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
target_chains/stylus/contracts/pyth-receiver/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -307,12 +307,12 @@ impl PythReceiver {
307
307
) ;
308
308
309
309
// Find the index of the price_id in the input price_ids vector
310
- if let Some ( idx) = price_ids. iter ( ) . position ( |id| * id == price_feed_message. feed_id ) {
311
- if price_feeds. len ( ) <= idx {
312
- price_feeds. resize ( idx + 1 , Default :: default ( ) ) ;
313
- }
314
- price_feeds[ idx] = price_info_return;
315
- }
310
+ // if let Some(idx) = price_ids.iter().position(|id| *id == price_feed_message.feed_id) {
311
+ // if price_feeds.len() <= idx {
312
+ // price_feeds.resize(idx + 1, Default::default());
313
+ // }
314
+ // price_feeds[idx] = price_info_return;
315
+ // }
316
316
} ,
317
317
_ => {
318
318
return Err ( PythReceiverError :: InvalidAccumulatorMessageType ) ;
You can’t perform that action at this time.
0 commit comments