Skip to content
Snippets Groups Projects
Commit 45258936 authored by Holger's avatar Holger
Browse files

Fix index

parent e34f7e0e
Branches
Tags
No related merge requests found
......@@ -246,7 +246,7 @@ class Testcases(unittest.TestCase):
stm = self.appbase
account = Account("gtg", steem_instance=stm)
h_list = []
max_index = account.virtual_op_count()
max_index = account.virtual_op_count() - 1
for h in account.history_reverse(start=max_index, stop=max_index - 4, use_block_num=False, batch_size=2, raw_output=False):
h_list.append(h)
self.assertEqual(len(h_list), 5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment