Closed erhant closed 2 months ago
https://github.com/firstbatchxyz/dkn-compute-node/blob/master/src/p2p/behaviour.rs#L74
use PeerId instead of PublicKey here, which is derived from a &self method and will save us a public key clone
PeerId
PublicKey
&self
https://github.com/firstbatchxyz/dkn-compute-node/blob/master/src/p2p/behaviour.rs#L74
use
PeerId
instead ofPublicKey
here, which is derived from a&self
method and will save us a public key clone