Skip to content

Commit

Permalink
Ref #210: More explicit lambda captures
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielhourt authored and jmjatlanta committed Sep 3, 2019
1 parent a24345e commit da5e985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/db_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,8 +649,8 @@ processed_transaction database::_apply_transaction(const signed_transaction& trx
if( !(skip & skip_transaction_signatures) )
{
bool allow_non_immediate_owner = ( head_block_time() >= HARDFORK_CORE_584_TIME );
auto get_active = [&]( account_id_type id ) { return &id(*this).active; };
auto get_owner = [&]( account_id_type id ) { return &id(*this).owner; };
auto get_active = [this]( account_id_type id ) { return &id(*this).active; };
auto get_owner = [this]( account_id_type id ) { return &id(*this).owner; };

trx.verify_authority(chain_id, get_active, get_owner, allow_non_immediate_owner,
MUST_IGNORE_CUSTOM_OP_REQD_AUTHS(head_block_time()),
Expand Down

0 comments on commit da5e985

Please sign in to comment.