Commit 0fc04a26 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'develop'

Feature/optimize See merge request !51
parents bb1a4b3d 8eb5b59b
...@@ -54,7 +54,7 @@ func GetTransactionGas(name string) (map[string]interface{}, error) { ...@@ -54,7 +54,7 @@ func GetTransactionGas(name string) (map[string]interface{}, error) {
high := util.FormatFloat(util.ToFloat64(string(fee))/1000000000*30000*0.000000001*1.3*3, 8) high := util.FormatFloat(util.ToFloat64(string(fee))/1000000000*30000*0.000000001*1.3*3, 8)
data["name"] = strings.ToUpper(name) data["name"] = strings.ToUpper(name)
data["low"] = "0.0002" data["low"] = "0.00001"
data["average"] = average data["average"] = average
data["high"] = high data["high"] = high
if util.ToFloat64(high) > 0.1 { if util.ToFloat64(high) > 0.1 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment