Skip to content

Commit

Permalink
fix online prorocol (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstaFrode authored Apr 24, 2024
1 parent fced804 commit 1c4eaa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ func (n *PeerNode) initProtocol(protocolPrefix string) {
n.ReadFileProtocol = n.NewReadFileProtocol()
n.ReadDataProtocol = n.NewReadDataProtocol()
n.ReadDataStatProtocol = n.NewReadDataStatProtocol()
n.OnlineProtocol = n.NewOnlineProtocol()
}

func NewDHT(ctx context.Context, h host.Host, bucketsize int, version string, boot_nodes []string, protocolPrefix, dhtProtocol string) (*dht.IpfsDHT, string, string, error) {
Expand Down

0 comments on commit 1c4eaa3

Please sign in to comment.