Skip to content

Commit

Permalink
change var name
Browse files Browse the repository at this point in the history
  • Loading branch information
unclezoro committed Jul 22, 2019
1 parent 4ab6fdd commit 2280cae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions keys/hdpath.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (

// BIP44Prefix is the parts of the BIP32 HD path that are fixed by what we used during the fundraiser.
const (
BIPPurpose = 44
BIPCoinType = 714
BIPChange = false
BIP44Prefix = "44'/714'/"
PartialFundraiserPath = "0'/0/0"
FullFundraiserPath = BIP44Prefix + PartialFundraiserPath
BIPPurpose = 44
BIPCoinType = 714
BIPChange = false
BIP44Prefix = "44'/714'/"
PartialPath = "0'/0/0"
FullPath = BIP44Prefix + PartialPath
)

// BIP44Params wraps BIP 44 params (5 level BIP 32 path).
Expand Down
2 changes: 1 addition & 1 deletion keys/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type KeyManager interface {

func NewMnemonicKeyManager(mnemonic string) (KeyManager, error) {
k := keyManager{}
err := k.recoveryFromMnemonic(mnemonic, FullFundraiserPath)
err := k.recoveryFromMnemonic(mnemonic, FullPath)
return &k, err
}

Expand Down

0 comments on commit 2280cae

Please sign in to comment.