Skip to content

Commit

Permalink
Ignore peer argument
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Sep 18, 2024
1 parent 4126d64 commit b9b8b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/network/warp_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (s *Service) handleWarpSyncStream(stream libp2pnetwork.Stream) {
s.readStream(stream, decodeSyncMessage, s.handleWarpSyncMessage, MaxBlockResponseSize)
}

func decodeWarpSyncMessage(in []byte, peer peer.ID, _ bool) (messages.P2PMessage, error) {
func decodeWarpSyncMessage(in []byte, _ peer.ID, _ bool) (messages.P2PMessage, error) {
msg := new(messages.WarpProofRequest)
err := msg.Decode(in)
return msg, err
Expand Down

0 comments on commit b9b8b72

Please sign in to comment.