diff --git a/wasm/channels.go b/wasm/channels.go index 299801c88ddd7b1064d2da8b71c8c8ab99f03195..51e4b296620ef3eae8a210004964589c7bb797bd 100644 --- a/wasm/channels.go +++ b/wasm/channels.go @@ -1260,7 +1260,7 @@ func newChannelDbCipherJS(api *bindings.ChannelDbCipher) map[string]interface{} // passed into [NewCmix] (Uint8Array). // - args[2] - The maximum size of a payload to be encrypted. // A payload passed into [ChannelDbCipher.Encrypt] that is larger than -// plaintTextBlockSize will result in an error (int). +// this value will result in an error (int). // // Returns: // - A JavaScript representation of the [ChannelDbCipher]. @@ -1323,4 +1323,4 @@ func (c *ChannelDbCipher) Decrypt(_ js.Value, args []js.Value) interface{} { return utils.CopyBytesToJS(plaintext) -} \ No newline at end of file +}