multi: thread through and use AuxTrafficShaper

This commit is contained in:
Oliver Gugger committed 2024-12-05 12:39:34 +01:00
1 parent a2e78c3984
commit 86b3be71fe
3 files changed
+41 -1

No files matched your search

+1
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