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:
33d544a
)
list address return the key_index
author
paladz
<453256728@qq.com>
Wed, 5 Sep 2018 02:28:46 +0000
(10:28 +0800)
committer
paladz
<453256728@qq.com>
Wed, 5 Sep 2018 02:28:46 +0000
(10:28 +0800)
api/accounts.go
patch
|
blob
|
history
diff --git
a/api/accounts.go
b/api/accounts.go
index
4901c05
..
b84e25d
100644
(file)
--- a/
api/accounts.go
+++ b/
api/accounts.go
@@
-87,7
+87,7
@@
type addressResp struct {
Address string `json:"address"`
ControlProgram string `json:"control_program"`
Change bool `json:"change"`
- KeyIndex uint64 `json:"
-
"`
+ KeyIndex uint64 `json:"
key_index
"`
}
// SortByIndex implements sort.Interface for addressResp slices