Skip to content

Commit

Permalink
fix long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Oct 15, 2018
1 parent 3c3be51 commit 15c2425
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3043,7 +3043,8 @@ vector<operation_detail> wallet_api::get_account_history(string name, int limit)

int page_limit = skip_first_row ? std::min( 100, limit + 1 ) : std::min( 100, limit );

vector<operation_history_object> current = my->_remote_hist->get_account_history( always_id, operation_history_id_type(),
vector<operation_history_object> current = my->_remote_hist->get_account_history( always_id,
operation_history_id_type(),
page_limit, start );
bool first_row = true;
for( auto& o : current )
Expand Down Expand Up @@ -3094,7 +3095,10 @@ vector<operation_detail> wallet_api::get_relative_account_history(string name, u

while( limit > 0 )
{
vector <operation_history_object> current = my->_remote_hist->get_relative_account_history(always_id, stop, std::min<uint32_t>(100, limit), start);
vector <operation_history_object> current = my->_remote_hist->get_relative_account_history(always_id,
stop,
std::min<uint32_t>(100, limit),
start);
for (auto &o : current) {
std::stringstream ss;
auto memo = o.op.visit(detail::operation_printer(ss, *my, o.result));
Expand Down

0 comments on commit 15c2425

Please sign in to comment.