Skip to content

Commit

Permalink
Updated signing done check related unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszslabon committed Aug 24, 2023
1 parent 244a769 commit 874c320
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/tbtc/signing_done_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/keep-network/keep-core/internal/testutils"
"github.com/keep-network/keep-core/pkg/chain"
"github.com/keep-network/keep-core/pkg/chain/local_v1"
"github.com/keep-network/keep-core/pkg/net"
"github.com/keep-network/keep-core/pkg/net/local"
"github.com/keep-network/keep-core/pkg/operator"
"github.com/keep-network/keep-core/pkg/protocol/group"
Expand Down Expand Up @@ -326,6 +327,10 @@ func setupSigningDoneCheck(
t.Fatal(err)
}

broadcastChannel.SetUnmarshaler(func() net.TaggedUnmarshaler {
return &signingDoneMessage{}
})

membershipValidator := group.NewMembershipValidator(
&testutils.MockLogger{},
operators,
Expand Down

0 comments on commit 874c320

Please sign in to comment.