From 37e004b30537ecdce2bba89fe627006a8c3d62ff Mon Sep 17 00:00:00 2001 From: jbhusson <jonah@elixxir.io> Date: Fri, 22 Jul 2022 15:06:08 -0400 Subject: [PATCH] fix bindings --- bindings/broadcast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/broadcast.go b/bindings/broadcast.go index 798824414..75403e85a 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) { -- GitLab