diff --git a/bindings/broadcast.go b/bindings/broadcast.go index 7988244146762c65301f55501ac7a2f2d9dfcad7..75403e85ad5504603f7ac50f9e2cbdea4dff2be9 100644 --- a/bindings/broadcast.go +++ b/bindings/broadcast.go @@ -102,7 +102,7 @@ func NewBroadcastClient(clientID int, rawDef []byte) (*Channel, error) { 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) listen := func(payload []byte, receptionID receptionID.EphemeralIdentity, round rounds.Round) {