Skip to content
Snippets Groups Projects
Commit 37e004b3 authored by Jonah Husson's avatar Jonah Husson
Browse files

fix bindings

parent 38e79aa0
No related branches found
No related tags found
2 merge requests!510Release,!285Add bindings for broadcast, some comment updates
...@@ -102,7 +102,7 @@ func NewBroadcastClient(clientID int, rawDef []byte) (*Channel, error) { ...@@ -102,7 +102,7 @@ func NewBroadcastClient(clientID int, rawDef []byte) (*Channel, error) {
return &Channel{ch: ch}, nil return &Channel{ch: ch}, nil
} }
func (c *Channel) Listen(l BroadcastListener, method uint8) error { func (c *Channel) Listen(l BroadcastListener, method int) error {
broadcastMethod := broadcast.Method(method) broadcastMethod := broadcast.Method(method)
listen := func(payload []byte, listen := func(payload []byte,
receptionID receptionID.EphemeralIdentity, round rounds.Round) { receptionID receptionID.EphemeralIdentity, round rounds.Round) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment