OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17f4bcc
)
modified key alias (#526)
author
LonelyPale
<lonelypale@gmail.com>
Thu, 2 Apr 2020 12:24:15 +0000
(07:24 -0500)
committer
GitHub
<noreply@github.com>
Thu, 2 Apr 2020 12:24:15 +0000
(20:24 +0800)
Co-authored-by: WuYanBing <wyb@LonelyHost.local>
Co-authored-by: Paladz <yzhu101@uottawa.ca>
blockchain/pseudohsm/pseudohsm.go
patch
|
blob
|
history
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
}