txdb: Fix assert crash in new UTXO set cursor
commita3310b4d485b1510c240f1db882530590b6fd7c9
authorWladimir J. van der Laan <laanwj@gmail.com>
Mon, 18 Apr 2016 10:05:32 +0000 (18 12:05 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Mon, 18 Apr 2016 10:05:32 +0000 (18 12:05 +0200)
treead121e15124090ef11d53663ab91938313fe6ea1
parent73fc922ed64333d45f18d8a448f30cfa2ae0281e
txdb: Fix assert crash in new UTXO set cursor

Remove the mistaken assumption that GetKey returning false signifies
an internal database issue. It will return false when the key cannot
be deserialized into the (char,uint256) stanza, which indicates
that the cursor has reached a different kind of key.

Fixes bug #7890 introduced in #7756.
src/txdb.cpp