Commit 039dbcb5 authored by lilinleeli1234's avatar lilinleeli1234 Committed by vipwzw

update linter

parent 9c48f69f
......@@ -53,7 +53,7 @@ func (mem *Mempool) SetQueueClient(client queue.Client) {
for i := 0; i < retry_times; i++ {
reply, err := mem.mainGrpcCli.SendTransaction(context.Background(), tx)
if err == nil {
msg.Reply(client.NewMessage(mem.key, types.EventReply, &types.Reply{IsOk: true, Msg: []byte(reply.GetMsg())}))
msg.Reply(client.NewMessage(mem.key, types.EventReply, &types.Reply{IsOk: true, Msg: reply.GetMsg()}))
break
} else if err != nil && i != retry_times-1 {
continue
......
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