From 101bb1e6f714769284d34cb7b607fb65266f902d Mon Sep 17 00:00:00 2001 From: Holger <holger@nahrstaedt.de> Date: Thu, 5 Jul 2018 19:49:18 +0200 Subject: [PATCH] Fix start and stop for history_reverse --- beem/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beem/account.py b/beem/account.py index 0587d18f..91eef3b1 100644 --- a/beem/account.py +++ b/beem/account.py @@ -1718,6 +1718,8 @@ class Account(BlockchainObject): """ _limit = batch_size first = self.virtual_op_count() + start = addTzInfo(start) + stop = addTzInfo(stop) if not first or not batch_size: return if start is not None and isinstance(start, int) and start < 0 and not use_block_num: @@ -1748,8 +1750,6 @@ class Account(BlockchainObject): first = op_est + est_diff if stop is not None and isinstance(stop, int) and stop < 0 and not use_block_num: stop += first - start = addTzInfo(start) - stop = addTzInfo(stop) while True: # RPC call -- GitLab