OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modified key alias (#526)
[bytom/vapor.git]
/
blockchain
/
pseudohsm
/
pseudohsm.go
diff --git
a/blockchain/pseudohsm/pseudohsm.go
b/blockchain/pseudohsm/pseudohsm.go
index
989bec1
..
c6b6743
100644
(file)
--- a/
blockchain/pseudohsm/pseudohsm.go
+++ b/
blockchain/pseudohsm/pseudohsm.go
@@
-94,7
+94,7
@@
func (h *HSM) ImportKeyFromMnemonic(alias string, auth string, mnemonic string,
return nil, mnem.ErrInvalidMnemonic
}
- xpub, err := h.createKeyFromMnemonic(
a
lias, auth, mnemonic)
+ xpub, err := h.createKeyFromMnemonic(
normalizedA
lias, auth, mnemonic)
if err != nil {
return nil, err
}