This commit is contained in:
Christopher Jeffrey 2016-06-12 09:11:25 -07:00
parent 68d8a6f2d3
commit 247067291c
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 2 additions and 2 deletions

View File

@ -654,7 +654,7 @@ ChainDB.prototype.connect = function connect(entry, block, view, callback) {
* @param {Function} callback - Returns [Error, {@link ChainEntry}]. * @param {Function} callback - Returns [Error, {@link ChainEntry}].
*/ */
ChainDB.prototype.disconnect = function disconnect(block, callback) { ChainDB.prototype.disconnect = function disconnect(entry, callback) {
var self = this; var self = this;
var batch; var batch;

View File

@ -259,7 +259,7 @@ Coins.parseRaw = function parseRaw(data, hash, index) {
Coins.parseCoin = function parseCoin(data, hash, index) { Coins.parseCoin = function parseCoin(data, hash, index) {
assert(index != null, 'Bad index.'); assert(index != null, 'Bad index.');
return Coins.parseCoins(data, hash, index); return Coins.parseRaw(data, hash, index);
}; };
/** /**