lint.
This commit is contained in:
parent
bbec33591d
commit
a5945c1d98
@ -5,8 +5,6 @@
|
|||||||
* https://github.com/indutny/bcoin
|
* https://github.com/indutny/bcoin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var utils = require('./utils');
|
|
||||||
var assert = utils.assert;
|
|
||||||
var constants = require('./protocol/constants');
|
var constants = require('./protocol/constants');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
var bcoin = require('./env');
|
var bcoin = require('./env');
|
||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
var bn = require('bn.js');
|
|
||||||
var constants = bcoin.protocol.constants;
|
var constants = bcoin.protocol.constants;
|
||||||
var utils = require('./utils');
|
var utils = require('./utils');
|
||||||
var assert = utils.assert;
|
var assert = utils.assert;
|
||||||
|
|||||||
@ -359,8 +359,6 @@ Fullnode.prototype.destroy = function destroy(callback) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Fullnode.prototype.createWallet = function createWallet(options, callback) {
|
Fullnode.prototype.createWallet = function createWallet(options, callback) {
|
||||||
var self = this;
|
|
||||||
callback = utils.ensure(callback);
|
|
||||||
this.walletdb.ensure(options, function(err, wallet) {
|
this.walletdb.ensure(options, function(err, wallet) {
|
||||||
if (err)
|
if (err)
|
||||||
return callback(err);
|
return callback(err);
|
||||||
|
|||||||
@ -307,8 +307,6 @@ SPVNode.prototype.destroy = function destroy(callback) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
SPVNode.prototype.createWallet = function createWallet(options, callback) {
|
SPVNode.prototype.createWallet = function createWallet(options, callback) {
|
||||||
var self = this;
|
|
||||||
callback = utils.ensure(callback);
|
|
||||||
this.walletdb.ensure(options, function(err, wallet) {
|
this.walletdb.ensure(options, function(err, wallet) {
|
||||||
if (err)
|
if (err)
|
||||||
return callback(err);
|
return callback(err);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user