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:
af89045
)
modify tags
author
oysheng
<oysheng@bytom.io>
Tue, 17 Apr 2018 12:21:45 +0000
(20:21 +0800)
committer
oysheng
<oysheng@bytom.io>
Tue, 17 Apr 2018 12:21:45 +0000
(20:21 +0800)
api/nodeinfo.go
patch
|
blob
|
history
api/query.go
patch
|
blob
|
history
diff --git
a/api/nodeinfo.go
b/api/nodeinfo.go
index
dad2195
..
762cb22
100644
(file)
--- a/
api/nodeinfo.go
+++ b/
api/nodeinfo.go
@@
-33,7
+33,7
@@
func (a *API) getNetInfo() Response {
// return is in mining or not
func (a *API) isMining() Response {
- IsMining := map[string]bool{"is
M
ining": a.IsMining()}
+ IsMining := map[string]bool{"is
_m
ining": a.IsMining()}
return NewSuccessResponse(IsMining)
}
diff --git
a/api/query.go
b/api/query.go
index
5d3e9ee
..
5fd9411
100644
(file)
--- a/
api/query.go
+++ b/
api/query.go
@@
-166,6
+166,6
@@
func (a *API) listUnspentOutputs(ctx context.Context, filter struct {
// return gasRate
func (a *API) gasRate() Response {
- gasrate := map[string]int64{"gas
R
ate": consensus.VMGasRate}
+ gasrate := map[string]int64{"gas
_r
ate": consensus.VMGasRate}
return NewSuccessResponse(gasrate)
}