refraction-networking / conjure

Conjure Refraction Networking station code
https://refraction.network
Apache License 2.0
66 stars 19 forks source link

Decoy registration sharing bug fix #245

Closed jmwample closed 8 months ago

jmwample commented 8 months ago

This pr fixes an issue with the c2s used when sharing decoy registrations over the api. Previously not all fields or flags were set before being shared.

Easy fix is to add an (immutable) internal variable storing the original unmodified c2s at the creation of the registration and then just share that onward.