[SON-344] BTC asset is created with wrong quote asset id, Fixed (#341)

* [SON-344] BTC asset is created with wrong quote asset id, Fixed
* Respond to code review
This commit is contained in:
obucina 2020-04-08 13:51:16 +02:00 committed by GitHub
parent c345369c67
commit 4f72269cf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1919,7 +1919,7 @@ void perform_son_tasks(database& db)
a.options.core_exchange_rate.base.amount = 100000;
a.options.core_exchange_rate.base.asset_id = asset_id_type(0);
a.options.core_exchange_rate.quote.amount = 2500; // CoinMarketCap approx value
a.options.core_exchange_rate.quote.asset_id = asset_id_type(0);
a.options.core_exchange_rate.quote.asset_id = a.id;
a.options.whitelist_authorities.clear(); // accounts allowed to use asset, if not empty
a.options.blacklist_authorities.clear(); // accounts who can blacklist other accounts to use asset, if white_list flag is set
a.options.whitelist_markets.clear(); // might be traded with