Skip to content

Commit

Permalink
Fix a bug in block streamer (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhefeng authored and Yutong Pei committed Nov 22, 2019
1 parent 4bdfa9f commit ac62919
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/blocklistener.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package api

import (
"go.uber.org/zap"

"github.com/iotexproject/iotex-proto/golang/iotexapi"
"github.com/iotexproject/iotex-proto/golang/iotextypes"
"go.uber.org/zap"

"github.com/iotexproject/iotex-core/blockchain/block"
"github.com/iotexproject/iotex-core/pkg/log"
Expand Down Expand Up @@ -41,6 +42,7 @@ func (bl *blockListener) Respond(blk *block.Block) error {
zap.Error(err),
)
bl.errChan <- err
return err
}
return nil
}
Expand Down

0 comments on commit ac62919

Please sign in to comment.