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 will be synchronous 99% of the time.
this._onFlush(function() { this._onFlush(function() {
try { try {
if (!bcoin.fs) if (!bcoin.fs)
self.ramdisk.truncate(size); self.ramdisk.truncate(size);
else else
fs.ftruncateSync(self.fd, size); fs.ftruncateSync(self.fd, size);
} catch (e) { } catch (e) {
self.size = osize; self.size = osize;
self.highest = ohighest; self.highest = ohighest;