Skip to content

Commit

Permalink
Fixed unit tests for P2P
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Vachon committed Feb 27, 2020
1 parent 7cd7a57 commit 6e32ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func checkProducerAuthoritySchedule(t *testing.T, schedule *ProducerAuthoritySch
}

func checkBlockSigningAuthority(t *testing.T, authority *BlockSigningAuthority) {
assert.Equal(t, uint(0), authority.TypeID)
assert.Equal(t, uint32(0), authority.TypeID)
switch v0 := authority.Impl.(type) {
case *BlockSigningAuthorityV0:
assert.Equal(t, uint32(2), v0.Threshold)
Expand Down

0 comments on commit 6e32ae2

Please sign in to comment.