Skip to content

Commit

Permalink
Merge PR #881 from 'nodech/test-cleanup'
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Dec 18, 2023
2 parents 419924b + a2d7e3c commit 5f94317
Show file tree
Hide file tree
Showing 11 changed files with 2,128 additions and 2,034 deletions.
2 changes: 1 addition & 1 deletion lib/primitives/address.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class Address extends bio.Struct {

/**
* Compile the address object to a bech32 address.
* @param {{NetworkType|Network)?} network
* @param {(NetworkType|Network)?} network
* @returns {String}
* @throws Error on bad hash/prefix.
*/
Expand Down
6 changes: 2 additions & 4 deletions test/auction-rpc-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const {
Path
} = require('..');
const {forValue} = require('./util/common');
const NodeContext = require('./util/node');
const NodeContext = require('./util/node-context');

class TestUtil {
constructor() {
Expand Down Expand Up @@ -52,7 +52,7 @@ class TestUtil {

await this.nodeCtx.open();

this.node.plugins.walletdb.wdb.on('confirmed', ((details, tx) => {
this.nodeCtx.wdb.on('confirmed', ((details, tx) => {
const txid = tx.txid();

if (!this.txs[txid])
Expand Down Expand Up @@ -416,8 +416,6 @@ describe('Auction RPCs', function() {

describe('SPV', function () {
const spvCtx = new NodeContext({
port: 10000,
brontidePort: 20000,
httpPort: 30000,
only: '127.0.0.1',
noDns: true,
Expand Down
Loading

0 comments on commit 5f94317

Please sign in to comment.