Skip to content

Commit

Permalink
chore: refactor peer method signature to reflect changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Ghangas committed Mar 3, 2021
1 parent b917012 commit 32e9331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func (p *Peer) Sync(ctx context.Context, contentID []byte, hint *id.Signatory) (
return p.syncer.Sync(ctx, contentID, hint)
}

func (p *Peer) Gossip(contentID []byte, subnet *id.Hash) {
p.gossiper.Gossip(contentID, subnet)
func (p *Peer) Gossip(ctx context.Context, contentID []byte, subnet *id.Hash) {
p.gossiper.Gossip(ctx, contentID, subnet)
}

func (p *Peer) Run(ctx context.Context) {
Expand Down

0 comments on commit 32e9331

Please sign in to comment.