whitespace

This commit is contained in:
Christopher Jeffrey 2016-02-19 11:27:11 -08:00
parent 5a79637039
commit 56f68983d3

View File

@ -464,10 +464,10 @@ ChainDB.prototype.resetHeightSync = function resetHeightSync(height) {
// This will be synchronous 99% of the time.
this._onFlush(function() {
try {
if (!bcoin.fs)
self.ramdisk.truncate(size);
else
fs.ftruncateSync(self.fd, size);
if (!bcoin.fs)
self.ramdisk.truncate(size);
else
fs.ftruncateSync(self.fd, size);
} catch (e) {
self.size = osize;
self.highest = ohighest;