OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c0d9a
)
fix delete key failed
author
lbqds
<lbqds@outlook.com>
Fri, 13 Apr 2018 06:02:35 +0000
(14:02 +0800)
committer
lbqds
<lbqds@outlook.com>
Fri, 13 Apr 2018 06:02:35 +0000
(14:02 +0800)
cmd/bytomcli/commands/key.go
patch
|
blob
|
history
diff --git
a/cmd/bytomcli/commands/key.go
b/cmd/bytomcli/commands/key.go
index
cb9a8f2
..
61f0dcc
100644
(file)
--- a/
cmd/bytomcli/commands/key.go
+++ b/
cmd/bytomcli/commands/key.go
@@
-46,7
+46,7
@@
var deleteKeyCmd = &cobra.Command{
var key = struct {
Password string
- XPub chainkd.XPub `json:"xpub
s
"`
+ XPub chainkd.XPub `json:"xpub"`
}{XPub: *xpub, Password: args[1]}
if _, exitCode := util.ClientCall("/delete-key", &key); exitCode != util.Success {