check txPos for leveldb, again.

This commit is contained in:
Christopher Jeffrey 2014-12-03 14:21:37 -08:00
parent 285c7f1d45
commit faca81f038
1 changed files with 11 additions and 8 deletions

View File

@ -6214,16 +6214,19 @@ read_addr(const std::string addr) {
uint256 txhash;
ssKey >> txhash;
CDiskBlockPos blockPos;
ssValue >> blockPos.nFile;
ssValue >> blockPos.nPos;
// CDiskBlockPos blockPos;
// ssValue >> blockPos.nFile;
// ssValue >> blockPos.nPos;
// CDiskTxPos txPos;
// // ssValue >> txPos.nFile;
// // ssValue >> txPos.nPos;
// txPos.nFile = blockPos.nFile;
// txPos.nPos = blockPos.nPos;
// ssValue >> txPos.nTxOffset;
CDiskTxPos txPos;
// ssValue >> txPos.nFile;
// ssValue >> txPos.nPos;
txPos.nFile = blockPos.nFile;
txPos.nPos = blockPos.nPos;
ssValue >> txPos.nTxOffset;
ssValue >> txPos;
CTransaction ctx;
uint256 blockhash;