Commit 5f5a66a6 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

fix

parent d3eaba52
...@@ -48,7 +48,7 @@ func (e *Executor) ProcessReceipt(sync bool) { ...@@ -48,7 +48,7 @@ func (e *Executor) ProcessReceipt(sync bool) {
ticker := time.NewTicker(200 * time.Millisecond) ticker := time.NewTicker(200 * time.Millisecond)
defer ticker.Stop() defer ticker.Stop()
for { for {
txHashes, err := e.d.GetTxHashesByStatus(constant.TransactionNotExecuted) txHashes, err := e.d.GetTxHashesByStatus(constant.TransactionPending)
if err != nil { if err != nil {
log.WithError(err).Error("get txHashes failed") log.WithError(err).Error("get txHashes failed")
time.Sleep(time.Millisecond * 500) time.Sleep(time.Millisecond * 500)
......
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