multi: thread through and use AuxTrafficShaper

This commit is contained in:
Oliver Gugger
2024-12-04 12:03:55 +01:00
parent a2e78c3984
commit 86b3be71fe
3 changed files with 41 additions and 1 deletions

View File

@ -4222,6 +4222,7 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
MsgRouter: s.implCfg.MsgRouter,
AuxChanCloser: s.implCfg.AuxChanCloser,
AuxResolver: s.implCfg.AuxContractResolver,
AuxTrafficShaper: s.implCfg.TrafficShaper,
ShouldFwdExpEndorsement: func() bool {
if s.cfg.ProtocolOptions.NoExperimentalEndorsement() {
return false