OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modify general config (#257)
[bytom/vapor.git]
/
api
/
query.go
diff --git
a/api/query.go
b/api/query.go
index
c368983
..
d65acaa
100644
(file)
--- a/
api/query.go
+++ b/
api/query.go
@@
-327,7
+327,7
@@
func (a *API) listUnspentOutputs(ctx context.Context, filter struct {
// return gasRate
func (a *API) gasRate() Response {
- gasrate := map[string]int64{"gas_rate": consensus.VMGasRate}
+ gasrate := map[string]int64{"gas_rate": consensus.
ActiveNetParams.
VMGasRate}
return NewSuccessResponse(gasrate)
}