Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(modshare): start peer manager after Syncer (#2677)
Fixes panic: ``` panic: invalid type received %!s(<nil>) goroutine 602 [running]: github.com/celestiaorg/go-header/p2p.(*subscription[...]).NextHeader(0x103fbeaa0?, {0x103fdcd50, 0x14000723310?}) /Users/rford/go/pkg/mod/github.com/celestiaorg/go-header@v0.3.1/p2p/subscription.go:44 +0x2ac github.com/celestiaorg/celestia-node/share/p2p/peers.(*Manager).subscribeHeader(0x1400158c960, {0x103fdcd50, 0x14000723310}, {0x103fbe928?, 0x14000676250?}) /Users/rford/Programming/Celestia/celestia-node/share/p2p/peers/manager.go:299 +0xc0 created by github.com/celestiaorg/celestia-node/share/p2p/peers.(*Manager).Start in goroutine 262 /Users/rford/Programming/Celestia/celestia-node/share/p2p/peers/manager.go:180 +0x410 ```
- Loading branch information