Skip to content

Commit

Permalink
Release 0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wAISw committed Jun 25, 2018
1 parent 9f9575a commit 4212430
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chronobank/mint",
"version": "0.9.2",
"version": "0.9.3",
"description": "Control panel for ChronoBank",
"private": true,
"author": "chronobank",
Expand Down
2 changes: 1 addition & 1 deletion packages/login/network/HardwareWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

export default class HardwareWallet {
constructor (address) {
this._address = address[0]
this._address = address
}

getAddressString () {
Expand Down
6 changes: 3 additions & 3 deletions packages/login/network/mnemonicProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class MnemonicProvider {
: COIN_TYPE_BTC_MAINNET
return bitcoin.HDNode
.fromSeedBuffer(bip39.mnemonicToSeed(mnemonic), network)
.derivePath(`m/44'/${coinType}'/0'/0`)
.derivePath(`m/44'/${coinType}'/0'/0/0`)
}

createLitecoinWallet (mnemonic, network) {
Expand All @@ -99,7 +99,7 @@ class MnemonicProvider {
: COIN_TYPE_LTC_MAINNET
return bitcoin.HDNode
.fromSeedBuffer(bip39.mnemonicToSeed(mnemonic), network)
.derivePath(`m/44'/${coinType}'/0'/0`)
.derivePath(`m/44'/${coinType}'/0'/0/0`)
}

createBitcoinGoldWallet (mnemonic, network) {
Expand All @@ -108,7 +108,7 @@ class MnemonicProvider {
: COIN_TYPE_BTG_MAINNET
return bitcoin.HDNode
.fromSeedBuffer(bip39.mnemonicToSeed(mnemonic), network)
.derivePath(`m/44'/${coinType}'/0'/0`)
.derivePath(`m/44'/${coinType}'/0'/0/0`)
}

validateMnemonic (mnemonic) {
Expand Down

0 comments on commit 4212430

Please sign in to comment.