This commit is contained in:
jl777
2018-06-12 02:06:11 -11:00
parent 74db3cd027
commit de84abc1b0

View File

@@ -414,6 +414,7 @@ int64_t CBlockTreeDB::Snapshot()
CAddressIndexKey indexKey; CAddressIndexKey indexKey;
ssKey >> chType; ssKey >> chType;
ssKey >> indexKey; ssKey >> indexKey;
fprintf(stderr,"chType.%d\n",chType);
if ( chType == DB_ADDRESSINDEX ) if ( chType == DB_ADDRESSINDEX )
{ {
try { try {
@@ -431,7 +432,7 @@ int64_t CBlockTreeDB::Snapshot()
} catch (const std::exception& e) { } catch (const std::exception& e) {
return error("failed to get address index value"); return error("failed to get address index value");
} }
} else break; } else { break; }
} catch (const std::exception& e) { } catch (const std::exception& e) {
break; break;
} }