Skip to content

Commit

Permalink
test: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Tyneway committed Jan 25, 2020
1 parent 615cb3c commit 094c420
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/disable-goosig-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const proof = AirdropProof.decode(raw);
* @returns {FullNode|SPVNode}
*/

function newNode(type) {
function createNode(type) {
if (type === 'spv')
return new SPVNode({
memory: true,
Expand Down Expand Up @@ -90,7 +90,7 @@ describe('Disable GooSig', function() {
let node;

before(async () => {
node = newNode();
node = createNode();
await node.open();
});

Expand All @@ -116,7 +116,7 @@ describe('Disable GooSig', function() {
let node;

before(async () => {
node = newNode();
node = createNode();
await node.open();
});

Expand Down Expand Up @@ -172,7 +172,7 @@ describe('Disable GooSig', function() {
let node;

before(async () => {
node = newNode();
node = createNode();
await node.open();
await node.mempool.addAirdrop(proof);
});
Expand All @@ -199,7 +199,7 @@ describe('Disable GooSig', function() {
let node;

before(async () => {
node = newNode('spv');
node = createNode('spv');
await node.open();
});

Expand Down

0 comments on commit 094c420

Please sign in to comment.