deso-protocol / deso-protocol/mongodb-dumper

Messed up Transaction ids - how to get the correct transaction id?

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
20
Forks
14
PR merge metrics
No merged PRs in 30d

Description

What is up with the transaction ids like `AtKc7wqJuLy/VXGIR1MxVo46zOGrML+HwFDmiTv137Op` instead of `3JuETz96LrotPgv9db7awdfENVW4p149HgEjQ33wtNxM7o9gLF8Q53`?

Looking at this [block](https://www.bitcloutpulse.com/explorer/blocks/000000000000bb022da16a8b0990995b05431cc4ddbd9977278cec5dea3d1e78?search=000000000000bb022da16a8b0990995b05431cc4ddbd9977278cec5dea3d1e78), its first transaction should be `3JuETz96LrotPgv9db7awdfENVW4p149HgEjQ33wtNxM7o9gLF8Q53` but it appears as `AtKc7wqJuLy/VXGIR1MxVo46zOGrML+HwFDmiTv137Op` when I do the query:

```
db.data.findOne({ "BadgerKeyPrefix": "_PrefixBlockHashToBlock:0", "BlockHash": "000000000000bb022da16a8b0990995b05431cc4ddbd9977278cec5dea3d1e78"}, {"Txns" : { $slice: 1 } })
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.