Files
pezkuwi-subxt/substrate/client
Max Inden cbfbad6fbb client/authority-discovery: Compare PeerIds and not Multihashes (#6414)
In order to tell whether an address is the local nodes address the
authority discovery module previously compared the Multihash within the
`p2p` Multiaddr protocol.

rust-libp2p recently switched to a new PeerId representation (see [1]).
Multihashes of the same PeerId in the new and the old format don't
equal.

Instead of comparing the Multihashes, this patch ensures the module
compares the PeerIds

[1] https://github.com/libp2p/rust-libp2p/issues/555
2020-06-19 16:01:16 +02:00
..
2020-06-08 23:29:52 +02:00
2020-06-08 23:29:52 +02:00
2020-06-09 16:35:35 +02:00
2020-06-08 23:29:52 +02:00
2020-06-16 13:14:12 +03:00
2020-06-08 23:29:52 +02:00
2020-06-08 23:29:52 +02:00