minor: lint.
This commit is contained in:
parent
f1672a8b86
commit
febc55b586
@ -10,7 +10,6 @@ const assert = require('assert');
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const EventEmitter = require('events');
|
const EventEmitter = require('events');
|
||||||
const bdb = require('bdb');
|
const bdb = require('bdb');
|
||||||
const {encoding} = require('bufio');
|
|
||||||
const {RollingFilter} = require('bfilter');
|
const {RollingFilter} = require('bfilter');
|
||||||
const common = require('../blockchain/common');
|
const common = require('../blockchain/common');
|
||||||
const consensus = require('../protocol/consensus');
|
const consensus = require('../protocol/consensus');
|
||||||
|
|||||||
@ -14,7 +14,6 @@ const common = require('./common');
|
|||||||
const Script = require('../script/script');
|
const Script = require('../script/script');
|
||||||
const WalletKey = require('./walletkey');
|
const WalletKey = require('./walletkey');
|
||||||
const {HDPublicKey} = require('../hd/hd');
|
const {HDPublicKey} = require('../hd/hd');
|
||||||
const {encoding} = bio;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Account
|
* Account
|
||||||
|
|||||||
@ -492,7 +492,7 @@ async function updateAccount(wid, acct) {
|
|||||||
const type = br.readU8();
|
const type = br.readU8();
|
||||||
const m = br.readU8();
|
const m = br.readU8();
|
||||||
const n = br.readU8();
|
const n = br.readU8();
|
||||||
const accountIndex = br.readU32();
|
br.readU32(); // accountIndex
|
||||||
const receiveDepth = br.readU32();
|
const receiveDepth = br.readU32();
|
||||||
const changeDepth = br.readU32();
|
const changeDepth = br.readU32();
|
||||||
const nestedDepth = br.readU32();
|
const nestedDepth = br.readU32();
|
||||||
|
|||||||
@ -1499,7 +1499,7 @@ describe('Wallet', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should remove a wallet', async () => {
|
it('should remove a wallet', async () => {
|
||||||
const wallet = await wdb.create({
|
await wdb.create({
|
||||||
id: 'alice100'
|
id: 'alice100'
|
||||||
});
|
});
|
||||||
assert(await wdb.get('alice100'));
|
assert(await wdb.get('alice100'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user