From 20c82d07667dfb8f1e7593b187f107a6261900ee Mon Sep 17 00:00:00 2001 From: ycc Date: Sat, 17 Dec 2022 19:59:38 +0100 Subject: [PATCH] fix -> --- client/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/message.go b/client/message.go index 7071b80..2b78d02 100644 --- a/client/message.go +++ b/client/message.go @@ -79,7 +79,7 @@ func ProcessServerResponse(srv *InternalServer, msg []byte) (*meowlib.FromServer return fsmsg, nil } -func ProcessUserMessage(peer Peer, message []byte, signature []byte) (*meowlib.UserMessage, error) { +func ProcessUserMessage(peer *Peer, message []byte, signature []byte) (*meowlib.UserMessage, error) { dec, err := peer.AsymDecryptMessage(message, signature) if err != nil { return nil, err