fix: don't reference manifest directly, may be nil

This commit is contained in:
Cassandra Heart 2024-03-21 13:25:29 -05:00
parent 1c93ea9f73
commit 4781e85fd6
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -177,7 +177,6 @@ func (e *CeremonyDataClockConsensusEngine) NegotiateCompressedSyncFrames(
e.logger.Warn( e.logger.Warn(
"peer manifest was null or bandwidth was low", "peer manifest was null or bandwidth was low",
zap.Binary("peer_id", authentication.Authentication.PeerId), zap.Binary("peer_id", authentication.Authentication.PeerId),
zap.Uint64("bandwidth", manifest.Bandwidth),
) )
return nil return nil
} }