Commit 413ed00a authored by lilinleeli1234's avatar lilinleeli1234 Committed by vipwzw

update linter

parent 7b6cf303
......@@ -13,7 +13,7 @@ import (
var mlog = log.New("module", "mempool.para")
var topic = "mempool"
var RETRY_TIMES = 3
var retry_times = 3
//Mempool mempool 基础类
type Mempool struct {
......@@ -50,7 +50,7 @@ func (mem *Mempool) SetQueueClient(client queue.Client) {
reply, err := mem.mainGrpcCli.SendTransaction(context.Background(), tx)
if err != nil {
//进行重试
for i := 0; i < RETRY_TIMES; i++ {
for i := 0; i < retry_times; i++ {
reply, err = mem.mainGrpcCli.SendTransaction(context.Background(), tx)
if err != nil {
continue
......
......@@ -9,11 +9,6 @@ import (
//--------------------------------------------------------------------------------
// Module Mempool
type subConfig struct {
PoolCacheSize int64 `json:"poolCacheSize"`
ProperFee int64 `json:"properFee"`
}
func init() {
drivers.Reg("para", New)
}
......
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