fix: removed dummy ID(b) from upgrade_security for inbound connections (#681)

* fix: removed dummy ID(b) from upgrade_security for inbound connections

* added newsfragment

* updated newsfragment
This commit is contained in:
Abhinav Agarwalla
2025-06-17 17:55:50 +05:30
committed by GitHub
parent d61bca78ab
commit 2ed2587fc9
3 changed files with 10 additions and 6 deletions

View File

@ -0,0 +1,2 @@
Reordered the arguments to `upgrade_security` to place `is_initiator` before `peer_id`, and made `peer_id` optional.
This allows the method to reflect the fact that peer identity is not required for inbound connections.