From 068c27f5cbf2921ce5402a2d9239bf9db992ec90 Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Wed, 28 Sep 2022 09:54:38 -0700 Subject: [PATCH] Fix comment for SendReply --- bindings/channels.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bindings/channels.go b/bindings/channels.go index 8206201b6..ea8802cc2 100644 --- a/bindings/channels.go +++ b/bindings/channels.go @@ -636,15 +636,15 @@ func (cm *ChannelsManager) SendMessage(marshalledChanId []byte, return constructChannelSendReport(chanMsgId, rnd.ID, ephId) } -// SendReply is used to send a formatted message over a channel. -// Due to the underlying encoding using compression, it isn't possible to define -// the largest payload that can be sent, but it will always be possible to send -// a payload of 766 bytes at minimum. +// SendReply is used to send a formatted message over a channel. Due to the +// underlying encoding using compression, it isn't possible to define the +// largest payload that can be sent, but it will always be possible to send a +// payload of 766 bytes at minimum. // -// If the message ID that the reply is sent to does not exist, then the other -// side will post the message as a normal message and not a reply. -// The message will auto delete validUntil after the round it is sent in, -// lasting forever if ValidForever is used. +// If the message ID the reply is sent to is nonexistent, the other side will +// post the message as a normal message and not a reply. The message will auto +// delete validUntil after the round it is sent in, lasting forever if +// [channels.ValidForever] is used. // // Parameters: // - marshalledChanId - A JSON marshalled channel ID ([id.ID]). -- GitLab