mongodb-dumper icon indicating copy to clipboard operation
mongodb-dumper copied to clipboard

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

Open ilyakava opened this issue 3 years ago • 0 comments

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

Looking at this block, 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 } })

ilyakava avatar Aug 24 '21 17:08 ilyakava