fix horrible typo.
This commit is contained in:
parent
07261da2e2
commit
2549ffc4a8
@ -536,7 +536,7 @@ ChainDB.prototype.save = function save(entry, block, view, connect, callback) {
|
||||
var hash = block.hash();
|
||||
var height = new Buffer(4);
|
||||
|
||||
height.writeUInt32LE(height, 0, true);
|
||||
height.writeUInt32LE(entry.height, 0, true);
|
||||
|
||||
batch.put(layout.h(hash), height);
|
||||
batch.put(layout.e(hash), entry.toRaw());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user