Skip to content

Commit

Permalink
use compressed bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyonur committed Mar 22, 2024
1 parent c9d03f1 commit d24834c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warp/aggregator/aggregator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func newValidator(t testing.TB, weight uint64) (*bls.SecretKey, *avalancheWarp.V
pk := bls.PublicFromSecretKey(sk)
return sk, &avalancheWarp.Validator{
PublicKey: pk,
PublicKeyBytes: bls.PublicKeyToUncompressedBytes(pk),
PublicKeyBytes: bls.PublicKeyToCompressedBytes(pk),
Weight: weight,
NodeIDs: []ids.NodeID{ids.GenerateTestNodeID()},
}
Expand Down

0 comments on commit d24834c

Please sign in to comment.