win32 compile fix (#warning)
This commit is contained in:
parent
7cb4140b97
commit
03306860d2
1 changed files with 5 additions and 1 deletions
|
|
@ -493,7 +493,11 @@ void database::init_genesis(const genesis_state_type& genesis_state)
|
|||
a.options.description = asset.description;
|
||||
a.precision = asset.precision;
|
||||
string issuer_name = asset.issuer_name;
|
||||
#warning Remove this check doing real network, change BitAsset owners to be committee-account in genesis.
|
||||
#ifdef _MSC_VER
|
||||
# pragma message ("WARNING: Remove this check doing real network, change BitAsset owners to be committee-account in genesis.")
|
||||
#else
|
||||
# warning Remove this check doing real network, change BitAsset owners to be committee-account in genesis.
|
||||
#endif
|
||||
if( issuer_name == "witness-account" )
|
||||
issuer_name = "committee-account";
|
||||
a.issuer = get_account_id(issuer_name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue