-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't take ownership of key in SignedEnvelope::new (#2510) #2516
Conversation
I am not quite sure I follow. Could you expand on this @laurentsenta? |
To reproduce CI testfailures locally you can run |
c5a4cc2
to
addec85
Compare
@mxinden
According to this doc, the keypair is the one used to authenticate every connection. But it looks like we clone this key when we want to use it. Would that make sense to make the relationship explicit by using a reference in the |
addec85
to
feaa121
Compare
Good callout @laurentsenta. Off the top of my head there is no reason why |
Yes, skimming the code it makes sense :) |
Thanks for the feedbacks! I pushed another commit with the tweak, |
b4a4ba5
to
2f9bb9a
Compare
Thanks for the review, @thomaseizinger! could you merge, or should I ping Max? I don't have write access on the repo yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a changelog entry in core/CHANGELOG.md
. Otherwise looks good to me.
2f9bb9a
to
a443ed8
Compare
@mxinden Fixed, thanks for the check! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the help @laurentsenta.
First patch merged @laurentsenta 🎉 |
Fixes issues #2510