mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-01-29 04:40:10 +08:00
Merge pull request #145 from libp2p/fix/by-pointer
fix: envelop contains a mutex and can't be copied.
This commit is contained in:
commit
a14197ce56
@ -78,5 +78,5 @@ type EvtLocalAddressesUpdated struct {
|
||||
|
||||
// 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.
|
||||
SignedPeerRecord record.Envelope
|
||||
SignedPeerRecord *record.Envelope
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user