trb - correct trivial bug in `dumpblock`
June 21, 2021 —
shinohai
As discussed in the #asciilifeform irc chan, a bug was discovered by user whaack (WoT:whaack) in the trb `dumpblock` mechanism where it would return an orphaned block from disk instead of the expected mainchain block. asciilifeform (WoT:asciilifeform) quickly produced a vpatch which corrects this behavior, which I have tested and signed.
The vpatch and it's corresponding signature can be found in the trb section below:
asciilifeform_dumpblocks_force_mainchain.kv.vpatch asciilifeform_dumpblocks_force_mainchain.kv.vpatch.shinohai.sig