[BTS2] asset_evaluator.cpp: Don't check asset names registered before implementation of hardfork #385
This commit is contained in:
parent
545fbfe63c
commit
e1ba96b524
1 changed files with 11 additions and 0 deletions
|
|
@ -49,6 +49,9 @@ void_result asset_create_evaluator::do_evaluate( const asset_create_operation& o
|
||||||
auto asset_symbol_itr = asset_indx.find( op.symbol );
|
auto asset_symbol_itr = asset_indx.find( op.symbol );
|
||||||
FC_ASSERT( asset_symbol_itr == asset_indx.end() );
|
FC_ASSERT( asset_symbol_itr == asset_indx.end() );
|
||||||
|
|
||||||
|
if( d.head_block_time() > HARDFORK_385_TIME )
|
||||||
|
{
|
||||||
|
|
||||||
if( d.head_block_time() <= HARDFORK_409_TIME )
|
if( d.head_block_time() <= HARDFORK_409_TIME )
|
||||||
{
|
{
|
||||||
auto dotpos = op.symbol.find( '.' );
|
auto dotpos = op.symbol.find( '.' );
|
||||||
|
|
@ -76,6 +79,14 @@ void_result asset_create_evaluator::do_evaluate( const asset_create_operation& o
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
auto dotpos = op.symbol.find( '.' );
|
||||||
|
if( dotpos != std::string::npos )
|
||||||
|
wlog( "Asset ${s} has a name which requires hardfork 385", ("s",op.symbol) );
|
||||||
|
}
|
||||||
|
|
||||||
core_fee_paid -= core_fee_paid.value/2;
|
core_fee_paid -= core_fee_paid.value/2;
|
||||||
|
|
||||||
if( op.bitasset_opts )
|
if( op.bitasset_opts )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue