Skip to content

Commit

Permalink
do not allow limit > 100
Browse files Browse the repository at this point in the history
for issue bitshares#298
  • Loading branch information
oxarbitrage committed Jun 8, 2017
1 parent feabafd commit b4ca37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/wallet/wallet.cpp
Expand Up @@ -2838,7 +2838,7 @@ vector<operation_detail> wallet_api::get_account_history(string name, int limit)
vector<operation_detail> wallet_api::get_relative_account_history(string name, uint32_t stop, int limit, uint32_t start)const
{

FC_ASSERT( start > 0 || limit <= 100 );
FC_ASSERT( start > 0 && limit <= 100 );

vector<operation_detail> result;
auto account_id = get_account(name).get_id();
Expand Down

0 comments on commit b4ca37a

Please sign in to comment.