Commit b48fae98 authored by vipwzw's avatar vipwzw

fixbug: check fee

parent e136c0de
......@@ -166,7 +166,6 @@ func (client *client) SetQueueClient(c queue.Client) {
client.InitBlock()
})
go client.EventLoop()
client.wg.Add(1)
go client.commitMsgClient.handler()
go client.CreateBlock()
......
......@@ -225,7 +225,7 @@ func (client *commitMsgClient) getTxsGroup(txsArr *types.Transactions) (*types.T
plog.Error("para CreateTxGroup", "err", err.Error())
return nil, err
}
err = group.Check(0, types.GInt("MinFee"))
err = group.Check(0, types.GInt("MinFee"), types.GInt("MaxTxFee"))
if err != nil {
plog.Error("para CheckTxGroup", "err", err.Error())
return nil, err
......
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