mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-03-27 13:00:11 +08:00
fix: envelop contains a mutex and can't be copied.
This commit is contained in:
parent
970fe32cba
commit
744b95d7d8
@ -78,5 +78,5 @@ type EvtLocalAddressesUpdated struct {
|
|||||||
|
|
||||||
// SignedPeerRecord contains our own updated peer.PeerRecord, listing the addresses enumerated in Current.
|
// SignedPeerRecord contains our own updated peer.PeerRecord, listing the addresses enumerated in Current.
|
||||||
// wrapped in a record.Envelope and signed by the Host's private key.
|
// wrapped in a record.Envelope and signed by the Host's private key.
|
||||||
SignedPeerRecord record.Envelope
|
SignedPeerRecord *record.Envelope
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user