This commit is contained in:
Christopher Jeffrey 2016-06-03 12:17:14 -07:00
parent bbec33591d
commit a5945c1d98
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
4 changed files with 0 additions and 7 deletions

View File

@ -5,8 +5,6 @@
* https://github.com/indutny/bcoin
*/
var utils = require('./utils');
var assert = utils.assert;
var constants = require('./protocol/constants');
/*

View File

@ -7,7 +7,6 @@
var bcoin = require('./env');
var EventEmitter = require('events').EventEmitter;
var bn = require('bn.js');
var constants = bcoin.protocol.constants;
var utils = require('./utils');
var assert = utils.assert;

View File

@ -359,8 +359,6 @@ Fullnode.prototype.destroy = function destroy(callback) {
*/
Fullnode.prototype.createWallet = function createWallet(options, callback) {
var self = this;
callback = utils.ensure(callback);
this.walletdb.ensure(options, function(err, wallet) {
if (err)
return callback(err);

View File

@ -307,8 +307,6 @@ SPVNode.prototype.destroy = function destroy(callback) {
*/
SPVNode.prototype.createWallet = function createWallet(options, callback) {
var self = this;
callback = utils.ensure(callback);
this.walletdb.ensure(options, function(err, wallet) {
if (err)
return callback(err);