Small fixes

This commit is contained in:
airk42 2018-01-01 02:04:55 -05:00
parent aa4cb40642
commit 19121b7e6f
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ CBlockTemplate* CreateNewForkBlock()
if (term != '\n') {
//This maybe not an error, but warning none the less
LogPrintf("CreateNewBlock(): Warning! No record separator ('0xA') was found\n");
if_utxo.seekg(-1, ios_base::cur); //move one char back - if it is not a separator, maybe there is not separators at all
}
}
LogPrintf("CreateNewBlock(): total size %u\n", nBlockSize);