Skip to content

Commit

Permalink
Fix for txpool ps
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbundalo committed Nov 1, 2024
1 parent 69b07ab commit 80615e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func NewServer(logger hclog.Logger, config *Config) (*Server, error) {

srv.ps = ps

ps, err = pubsub.NewGossipSub(
psTxPool, err := pubsub.NewGossipSub(
context.Background(),
host, pubsub.WithPeerOutboundQueueSize(peerOutboundBufferSize*256),
pubsub.WithValidateQueueSize(validateBufferSize*256),
Expand All @@ -180,7 +180,7 @@ func NewServer(logger hclog.Logger, config *Config) (*Server, error) {
return nil, err
}

srv.psTxPool = ps
srv.psTxPool = psTxPool

return srv, nil
}
Expand Down

0 comments on commit 80615e8

Please sign in to comment.