You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Params.id is derived from the other properties of Params and is used to identify an object instance. However, since most properties of Params are exported, we can change them without changing Params.id, hence, leaving the object in an inconsistent state. This caused problems before (e.g., #56) and can lead to security-relevant bugs.
Proposal
We remove property Params.id and always calculate the identifier on the fly.
The text was updated successfully, but these errors were encountered:
Location
channel/params.go
Problem
Params.id
is derived from the other properties of Params and is used to identify an object instance. However, since most properties of Params are exported, we can change them without changing Params.id, hence, leaving the object in an inconsistent state. This caused problems before (e.g., #56) and can lead to security-relevant bugs.Proposal
We remove property
Params.id
and always calculate the identifier on the fly.The text was updated successfully, but these errors were encountered: