Skip to content

Commit

Permalink
fix: do not use negative instance numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Jan 9, 2023
1 parent 4889d31 commit 7ff7452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphenecommon/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def history(self, first=0, last=0, limit=-1, only_ops=[], exclude_ops=[]):
self["id"],
"1.11.{}".format(last),
_limit,
"1.11.{}".format(first - 1),
"1.11.{}".format((first - 1) >= 0 or 0),
api="history",
)
for i in txs:
Expand Down

0 comments on commit 7ff7452

Please sign in to comment.