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:
6ce51ce
)
modified key alias
author
WuYanBing
<wyb@LonelyHost.local>
Wed, 1 Apr 2020 07:21:57 +0000
(15:21 +0800)
committer
WuYanBing
<wyb@LonelyHost.local>
Wed, 1 Apr 2020 07:21:57 +0000
(15:21 +0800)
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
}