[bitshares/bitshares-core] Fix for Issue 868 – Reset feeds when changing the backing asset from one asset to another (#882)

jmjatlanta commented on this pull request.

> + else
+ {
+ // Feed is valid. Skip it.
+ ++itr;
+ }
+ } // end loop of each feed
+
+ // if the feeds were modified, update the median feed
+ if (feeds_changed) {
+ wlog(“Found invalid feed for asset ${asset_id} during hardfork core-868”, (“asset_id”, current_asset));
+ db.modify(bitasset_data, [&db](asset_bitasset_data_object &obj) {
+ obj.update_median_feeds( db.head_block_time() );
+ });
+ }
+
+ if ( HARDFORK_CORE_343_TIME != HARDFORK_CORE_868_TIME

to_update_and_match_call_orders passed

This post was last modified on May 7, 2018, 10:39 pm