Bug in pulling account history in Beem 0.24.26
![image.png](https://files.peakd.com/file/peakd-hive/themarkymark/23uQyCAG34CJsZXy2TyuqaVpePYGpLn5KeuunPdnPXe3Q72C9tkHM54PEQkhLd32tSWzn.png)
I was building an update to my [Hive Engine Tools](https://hiveengine.usehive.com) to pull up details from the @utopis project and I noticed some inconsistencies that I couldn't explain.
When I listed out transactions going from @utopis to @themarkymark I noticed there was a gap of transactions.
![image.png](https://files.peakd.com/file/peakd-hive/themarkymark/23swdriJtdh1cidpysjkgwyqFMwXNZfRTswjnnCybN1Z5me7mUMB1eUjH1yvz1Suhehj9.png)
Here you can see some of the transactions for @utopis to @themarkymark, specifically look from top to bottom starting with 20.424 where the next transaction is 84.385. I repeated this code over and over and I keep getting the same result.
I used HiveSQL and I notice there are many transaction during this gap. Quite a few in fact, and these are over a significant portion of time (weeks) not in a short period of time that would be the result of a short gap.
![image.png](https://files.peakd.com/file/peakd-hive/themarkymark/23tHbFNg2kMRGQZhXn7rcP2coZcqPy6gEr5HQCtk2JMdJSNXUaVeyBqr3PoAqVDSZR768.png)
I did some tests querying (multiple) nodes directly using curl and looked through the results and noticed all transactions were reported properly. I also looked at HiveJS and noticed they were all reported properly. This appears limited to Beem only.
Here is the simpliest version of the code I am using to query for the account history.
```
hive = Hive(node=['https://api.deathwing.me'], appbase = True)
utopis_account = Account('utopis')
divs = []
hive_history = utopis_account.history(start=-1, only_ops=['transfer'])
for transaction in hive_history:
if transaction['to'] == user:
divs.append([transaction['timestamp'], transaction['to'], 'HIVE',
Amount(transaction['amount']).amount])
history = get_history()
```
I have tried multiple nodes and same results, there is no variance in what is returned.
**Temporary Solution** - If I remove `only_ops=['transfer']` and manually filter the ops on my end, I am able to see all operations.
```
hive = Hive(node=['https://api.deathwing.me'])
utopis = Account('utopis')
divs = []
hive_history = utopis.history(start=-1)
for transaction in hive_history:
if transaction['type'] == 'transfer' and transaction['to'] == user:
divs.append([transaction['timestamp'], transaction['to'], 'HIVE',
Amount(transaction['amount']).amount])
history = get_history()
```
![image.png](https://files.peakd.com/file/peakd-hive/themarkymark/23swdriJtdh6MdAGHjNaKcftuwiLWGwzCjUFbYYD8gjYuheaCF8KCb7HoLbXcfvEZGabb.png)
![image.png](https://files.peakd.com/file/peakd-hive/themarkymark/23swdriJtdh6MdAGHjNaKcftuwiLWGwzCjUFbYYD8gjYuheaCF8KCb7HoLbXcfvEZGabb.png)
I created an issue on [Github](https://github.com/holgern/beem/issues/334) with similar details to recreate it.
See: Bug in pulling account history in Beem 0.24.26 by @themarkymark