diff --git a/lib/bcoin/bst.js b/lib/bcoin/bst.js index ff96e6ae..a11aa418 100644 --- a/lib/bcoin/bst.js +++ b/lib/bcoin/bst.js @@ -493,7 +493,7 @@ Batch.prototype.write = function write(callback) { return this; }; -Batch.prototype.clear = function clear(callback) { +Batch.prototype.clear = function clear() { assert(this.tree, 'Already written.'); this.ops.length = 0; return this;