pub fn clean_oracle_data(&mut self, account_id: ValidAccountId, asset_ids: Vec<AssetId>) {
        assert!(self.internal_get_oracle(account_id.as_ref()).is_none());
        for asset_id in asset_ids {
            let mut asset = self.internal_get_asset(&asset_id).expect("Unknown asset");
            if asset.remove_report(account_id.as_ref()) {
                self.internal_set_asset(&asset_id, asset);
            }
        }
    }
/// Remove price data from removed oracle.
Remove price data from removed oracle.
Remove price data from removed oracle .
pub fn clean_oracle_data(&mut self, account_id: ValidAccountId, asset_ids: Vec<AssetId>) {
        assert!(self.internal_get_oracle(account_id.as_ref()).is_none());
        for asset_id in asset_ids {
            let mut asset = self.internal_get_asset(&asset_id).expect("Unknown asset");
            if asset.remove_report(account_id.as_ref()) {
                self.internal_set_asset(&asset_id, asset);
            }
        }
    }
pub fn clean_oracle_data ( & mut self , account_id : ValidAccountId , asset_ids : Vec < AssetId > ) { assert ! ( self internal_get_oracle ( account_id as_ref ( ) ) is_none ( ) ) ; for asset_id in asset_ids { let mut asset = self . internal_get_asset ( & asset_id ) . expect ( " " ) ; if asset . remove_report ( account_id . as_ref ( ) ) { self . internal_set_asset ( & asset_id , asset ) ; } } }
Remove price data from removed oracle.
Remove price data from removed oracle .
&mut self
account_id
ValidAccountId
asset_ids
Vec<AssetId>
&mut self
account_id
ValidAccountId
asset_ids
Vec<AssetId>