Skip to content

Commit

Permalink
Fixes pathing issue that caused an error when trying to verify if a c…
Browse files Browse the repository at this point in the history
…oin had a test.
  • Loading branch information
tboydston committed Jan 27, 2021
1 parent 0c540a8 commit 72a3a00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Note: Not all initiation functions require all options.
- change: Used in HD address path to signify if address is for change.
- bip38Password: Additional password used to encrypt private keys.
- customPath: Custom path overwriting the path generated using bip/account/change.
- hashAlgo: Algorithm used to hash the address. Coin must have supporting network information. Options: p2pkh,p2wpkhInP2sh,p2wpkh


### Generate BIP 44(legacy),49(segwit compatible), or 84(bech32) address using mnemonic and optional pass phrase.
Expand Down
2 changes: 1 addition & 1 deletion hdAddressGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ class AddressGenerator {
coinHasTest(coinName){

let coinList = []
const coins = fs.readdirSync('tests/coins')
const coins = fs.readdirSync(__dirname+'/tests/coins/')
coins.forEach(coin => {
coinList.push(coin.split(".")[0])
})
Expand Down

0 comments on commit 72a3a00

Please sign in to comment.