Remove now-redundant white_list bit check from _is_authorized_asset() #566
This commit is contained in:
parent
130b54116c
commit
bb47f4c71c
1 changed files with 0 additions and 6 deletions
|
|
@ -37,12 +37,6 @@ bool _is_authorized_asset(
|
||||||
const account_object& acct,
|
const account_object& acct,
|
||||||
const asset_object& asset_obj)
|
const asset_object& asset_obj)
|
||||||
{
|
{
|
||||||
if( d.head_block_time() > HARDFORK_416_TIME )
|
|
||||||
{
|
|
||||||
if( !(asset_obj.options.flags & white_list) )
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
for( const auto id : acct.blacklisting_accounts )
|
for( const auto id : acct.blacklisting_accounts )
|
||||||
{
|
{
|
||||||
if( asset_obj.options.blacklist_authorities.find(id) != asset_obj.options.blacklist_authorities.end() )
|
if( asset_obj.options.blacklist_authorities.find(id) != asset_obj.options.blacklist_authorities.end() )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue