log "github.com/sirupsen/logrus"
- "github.com/bytom/protocol/bc/types"
+ "github.com/bytom/bytom/protocol/bc/types"
)
const (
ErrDuplicateSubscribe = errors.New("event: subscribe duplicate type")
)
-type NewMinedBlockEvent struct{ Block *types.Block }
+type NewMinedBlockEvent struct{ Block types.Block }
// TypeMuxEvent is a time-tagged notification pushed to subscribers.
type TypeMuxEvent struct {