mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-21 12:09:29 +00:00
Under ref semantics `var m = someMessage; m.field = ...` mutates the shared instance the caller still holds. Fix the outbound mutation sites: - waku_relay/protocol.nim publish: replace the local `var message` + timestamp patch with `wakuMessage.ensureTimestampSet()` - rln/proof.nim attachRLNProof: clone before writing `.proof` - rest_api relay attachRlnProofAndValidate: clone before writing `.proof` Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>