Account name trimming in get_account_history from account history API
While doing some functional tests in account history API I noticed bug which occured previously somewhere else but I don't remember where exactly. When get_account_history
is called with argument account exceeding 16 characters (which is maximum for account names) all characters after 16th character are trimmed.
Test case which indicate bug:
- create account with name of 16 character e.g. 'xxxxxxxxxxxxxxxx' and make some transfers to this account to fill history
- call
get_account_history
with account argument 'xxxxxxxxxxxxxxxx' and 'xxxxxxxxxxxxxxxxy'.
Notice that responses are the same.
Edited by Mateusz Kudela