fixes.
This commit is contained in:
parent
68d8a6f2d3
commit
247067291c
@ -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;
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user