OSDN Git Service

docs(release note): update bytom version 1.1.0 release note
[bytom/bytom.git] / event / event.go
index 4037931..20f525d 100644 (file)
@@ -9,7 +9,7 @@ import (
 
        log "github.com/sirupsen/logrus"
 
-       "github.com/bytom/protocol/bc/types"
+       "github.com/bytom/bytom/protocol/bc/types"
 )
 
 const (
@@ -24,7 +24,7 @@ var (
        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 {