Skip to content

Commit 4615d58

Browse files
committed
fee/cose: fix stale [Decode] doc link in DecodeReader (FIL-569)
The DecodeReader doc still referenced [Decode], which #32 renamed to DecodeEncrypt. Align the doc link with the current name. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fyx4RZx2j88mTQyeavbs79
1 parent cdd9b9c commit 4615d58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fee/cose/decode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (e *DecodedEnvelope) EncStructure(externalAAD []byte) ([]byte, error) {
194194
// past the envelope, then from r, so only the (small) header is held in memory
195195
// and an arbitrarily large ciphertext can be streamed.
196196
//
197-
// It is the streaming, tag-dispatching counterpart to [Decode] and
197+
// It is the streaming, tag-dispatching counterpart to [DecodeEncrypt] and
198198
// [DecodeEncrypt0], and is as strict as they are: a byte-string protected
199199
// header, map headers without duplicate labels, a null detached body, and — for
200200
// tag 96 — at least one well-formed 3-element recipient. Any deviation returns

0 commit comments

Comments
 (0)