Skip to content

Commit

Permalink
Merge pull request cryptonomex#680 from oxarbitrage/remove_wdumps
Browse files Browse the repository at this point in the history
remove wdumps from database_api.cpp and wallet.cpp
  • Loading branch information
oxarbitrage authored Feb 19, 2018
2 parents 4d5071b + dfe48ce commit 7ec18a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions libraries/app/database_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,6 @@ vector<vector<account_id_type>> database_api::get_key_references( vector<public_
*/
vector<vector<account_id_type>> database_api_impl::get_key_references( vector<public_key_type> keys )const
{
wdump( (keys) );
vector< vector<account_id_type> > final_result;
final_result.reserve(keys.size());

Expand Down Expand Up @@ -533,7 +532,6 @@ vector<vector<account_id_type>> database_api_impl::get_key_references( vector<pu
result.reserve( itr->second.size() );
for( auto item : itr->second )
{
wdump((a)(item)(item(_db).name));
result.push_back(item);
}
}
Expand Down Expand Up @@ -1782,13 +1780,11 @@ set<public_key_type> database_api::get_required_signatures( const signed_transac

set<public_key_type> database_api_impl::get_required_signatures( const signed_transaction& trx, const flat_set<public_key_type>& available_keys )const
{
wdump((trx)(available_keys));
auto result = trx.get_required_signatures( _db.get_chain_id(),
available_keys,
[&]( account_id_type id ){ return &id(_db).active; },
[&]( account_id_type id ){ return &id(_db).owner; },
_db.get_global_properties().parameters.max_authority_depth );
wdump((result));
return result;
}

Expand All @@ -1803,7 +1799,6 @@ set<address> database_api::get_potential_address_signatures( const signed_transa

set<public_key_type> database_api_impl::get_potential_signatures( const signed_transaction& trx )const
{
wdump((trx));
set<public_key_type> result;
trx.get_required_signatures(
_db.get_chain_id(),
Expand Down Expand Up @@ -1834,7 +1829,6 @@ set<public_key_type> database_api_impl::get_potential_signatures( const signed_t
for( const auto& key : auth.get_keys() )
result.insert( key );

wdump((result));
return result;
}

Expand Down
1 change: 0 additions & 1 deletion libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3784,7 +3784,6 @@ vector< signed_transaction > wallet_api_impl::import_balance( string name_or_id,
}

vector< balance_object > balances = _remote_db->get_balance_objects( addrs );
wdump((balances));
addrs.clear();

set<asset_id_type> bal_types;
Expand Down

0 comments on commit 7ec18a4

Please sign in to comment.