minor: lint.

This commit is contained in:
Christopher Jeffrey 2017-12-30 03:51:51 -08:00
parent f1672a8b86
commit febc55b586
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
4 changed files with 2 additions and 4 deletions

View File

@ -10,7 +10,6 @@ const assert = require('assert');
const path = require('path');
const EventEmitter = require('events');
const bdb = require('bdb');
const {encoding} = require('bufio');
const {RollingFilter} = require('bfilter');
const common = require('../blockchain/common');
const consensus = require('../protocol/consensus');

View File

@ -14,7 +14,6 @@ const common = require('./common');
const Script = require('../script/script');
const WalletKey = require('./walletkey');
const {HDPublicKey} = require('../hd/hd');
const {encoding} = bio;
/**
* Account

View File

@ -492,7 +492,7 @@ async function updateAccount(wid, acct) {
const type = br.readU8();
const m = br.readU8();
const n = br.readU8();
const accountIndex = br.readU32();
br.readU32(); // accountIndex
const receiveDepth = br.readU32();
const changeDepth = br.readU32();
const nestedDepth = br.readU32();

View File

@ -1499,7 +1499,7 @@ describe('Wallet', function() {
});
it('should remove a wallet', async () => {
const wallet = await wdb.create({
await wdb.create({
id: 'alice100'
});
assert(await wdb.get('alice100'));