mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-28 03:46:33 +00:00
node: minimize hardcoded service initialization (#6798)
* node: minimize hardcoded service initialization * hacking * nil safety * reduce space * remove genesis state store * fix lint * fix pex * unwind some odering effects * fix tests * remove unused experiment
This commit is contained in:
+1
-1
@@ -700,7 +700,7 @@ func createPEXReactorV2(
|
||||
logger log.Logger,
|
||||
peerManager *p2p.PeerManager,
|
||||
router *p2p.Router,
|
||||
) (*pex.ReactorV2, error) {
|
||||
) (service.Service, error) {
|
||||
|
||||
channel, err := router.OpenChannel(pex.ChannelDescriptor(), &protop2p.PexMessage{}, 128)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user