Go: Avoid mutating (signedexchange.Exchange).Payload
Open
@irori is already working on this.
Since May 3, 2019.
go
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
cc: @twifkak
In the current code, the Payload []byte field may contain payload either before or after mice encoding.
This is confusing behavior and we should avoid.
Perhaps we should factor out other Exchange members to a separate struct.
#427 would also benefit from such change.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.