Skip to content

Commit

Permalink
add here?
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimfred committed Sep 7, 2019
1 parent 219439d commit 21872e9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libraries/chain/db_notify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ struct get_impacted_account_visitor
}
void operator()( const htlc_extend_operation& op )
{
_impacted.insert( op.fee_payer() );
_impacted.insert( op.fee_payer() );
}
void operator()( const htlc_refund_operation& op )
{
void operator()( const htlc_refund_operation& op )
{
_impacted.insert( op.fee_payer() );
}
};
Expand Down Expand Up @@ -375,6 +375,9 @@ void get_relevant_accounts( const object* obj, flat_set<account_id_type>& accoun
accounts.insert( htlc_obj->transfer.to );
break;
}
/*
add voting and voteable here?
*/
}
}
else if( obj->id.space() == implementation_ids )
Expand Down Expand Up @@ -455,7 +458,7 @@ void database::notify_on_pending_transaction( const signed_transaction& tx )

void database::notify_changed_objects()
{ try {
if( _undo_db.enabled() )
if( _undo_db.enabled() )
{
const auto& head_undo = _undo_db.head();

Expand Down

0 comments on commit 21872e9

Please sign in to comment.