From 7cc203eb25b4bc7dd8882503424c16c4dfb2a3d3 Mon Sep 17 00:00:00 2001 From: Tracey Boydston Date: Thu, 15 Apr 2021 14:40:19 +0800 Subject: [PATCH] Removed camel case in module name as it causes issues on some OS. Fixed issues with modules names in tests. --- hdAddressGenerator.js | 2 +- tests/addressConversion.js | 2 +- tests/bip32Seed.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hdAddressGenerator.js b/hdAddressGenerator.js index e8cd1f1..f958c53 100644 --- a/hdAddressGenerator.js +++ b/hdAddressGenerator.js @@ -20,7 +20,7 @@ const nanoUtil = require('nanocurrency-web') const bchSlpUtil = require('bchaddrjs-slp') const bchaddr = require('bchaddrjs') -const coinList = require('coinNetworkList') +const coinList = require('coinnetworklist') class AddressGenerator { diff --git a/tests/addressConversion.js b/tests/addressConversion.js index 0c67884..a17691a 100644 --- a/tests/addressConversion.js +++ b/tests/addressConversion.js @@ -1,7 +1,7 @@ const assert = require('assert'); const settings = require("./settings") -const Gen = require("../generator.js") +const Gen = require("../hdAddressGenerator.js") const genBCH = Gen.withMnemonic(settings.mnemonic,false,"BCH") const genSLP = Gen.withMnemonic(settings.mnemonic,false,"SLP") diff --git a/tests/bip32Seed.js b/tests/bip32Seed.js index 757594f..e34f06b 100644 --- a/tests/bip32Seed.js +++ b/tests/bip32Seed.js @@ -1,7 +1,7 @@ const assert = require('assert'); const settings = require("./settings") -const Gen = require("../generator.js") +const Gen = require("../hdAddressGenerator.js") const gen = Gen.withMnemonic(settings.mnemonic,false,"BTC") describe('bip39seed', () => {