Merge pull request #145 from libp2p/fix/by-pointer

fix: envelop contains a mutex and can't be copied.
This commit is contained in:
Steven Allen 2020-04-24 18:36:42 -07:00 committed by GitHub
commit a14197ce56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}