Skip to content

Commit f3622c8

Browse files
authored
removing libp2p- go-eventbus (#1302)
1 parent 93e7ea8 commit f3622c8

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

go.mod

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ require (
7777
github.com/jbenet/go-random v0.0.0-20190219211222-123a90aedc0c
7878
github.com/jpillora/backoff v1.0.0
7979
github.com/kelseyhightower/envconfig v1.4.0
80-
github.com/libp2p/go-eventbus v0.2.1
8180
github.com/libp2p/go-libp2p v0.23.4
8281
github.com/libp2p/go-libp2p-gostream v0.5.0
8382
github.com/libp2p/go-libp2p-http v0.2.1

go.sum

-1
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,6 @@ github.com/libp2p/go-conn-security-multistream v0.2.0/go.mod h1:hZN4MjlNetKD3Rq5
10671067
github.com/libp2p/go-conn-security-multistream v0.2.1/go.mod h1:cR1d8gA0Hr59Fj6NhaTpFhJZrjSYuNmhpT2r25zYR70=
10681068
github.com/libp2p/go-conn-security-multistream v0.3.0/go.mod h1:EEP47t4fw/bTelVmEzIDqSe69hO/ip52xBEhZMLWAHM=
10691069
github.com/libp2p/go-eventbus v0.1.0/go.mod h1:vROgu5cs5T7cv7POWlWxBaVLxfSegC5UGQf8A2eEmx4=
1070-
github.com/libp2p/go-eventbus v0.2.1 h1:VanAdErQnpTioN2TowqNcOijf6YwhuODe4pPKSDpxGc=
10711070
github.com/libp2p/go-eventbus v0.2.1/go.mod h1:jc2S4SoEVPP48H9Wpzm5aiGwUCBMfGhVhhBjyhhCJs8=
10721071
github.com/libp2p/go-flow-metrics v0.0.1/go.mod h1:Iv1GH0sG8DtYN3SVJ2eG221wMiNpZxBdp967ls1g+k8=
10731072
github.com/libp2p/go-flow-metrics v0.0.2/go.mod h1:HeoSNUrOJVK1jEpDqVEiUOIXqhbnS27omG0uWU5slZs=

storagemarket/deal_handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
"github.com/filecoin-project/boost/storagemarket/types"
1010
"github.com/google/uuid"
11-
"github.com/libp2p/go-eventbus"
1211
"github.com/libp2p/go-libp2p/core/event"
12+
"github.com/libp2p/go-libp2p/p2p/host/eventbus"
1313
"go.uber.org/atomic"
1414
)
1515

storagemarket/newdealps.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55

66
"github.com/filecoin-project/boost/storagemarket/types"
7-
"github.com/libp2p/go-eventbus"
87
"github.com/libp2p/go-libp2p/core/event"
8+
"github.com/libp2p/go-libp2p/p2p/host/eventbus"
99
)
1010

1111
// newDealPS provides a nicer interface to keep track of "new deal" events

0 commit comments

Comments
 (0)