Skip to content

Conversation

@cc14514
Copy link

@cc14514 cc14514 commented May 7, 2020

IDService.peerrec and evt.SignedPeerRecord both are *record.Envelope type , cannot compile with pointer assignment

func (ids *IDService) handleLocalAddrsUpdated(evt event.EvtLocalAddressesUpdated) {
	ids.peerrecMu.Lock()
	rec := evt.SignedPeerRecord
	ids.peerrec = &rec // ???
	ids.peerrecMu.Unlock()

	log.Debug("triggering push based on updated local PeerRecord")
	ids.Push()
}

IDService.peerrec and evt.SignedPeerRecord both are `*record.Envelope` type , cannot compile with pointer assignment
@Stebalien
Copy link
Member

Stebalien commented May 7, 2020

This should be fixed by #907.

@cc14514 cc14514 closed this May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants