From f85eb4e133336a6772e6db94aa5d55bbc9aaa470 Mon Sep 17 00:00:00 2001 From: iamsofonias Date: Wed, 21 Jun 2023 12:08:17 -0600 Subject: [PATCH] Fix broken test --- lib/pos_network_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pos_network_test.go b/lib/pos_network_test.go index b8ed9fa98..5695d5d73 100644 --- a/lib/pos_network_test.go +++ b/lib/pos_network_test.go @@ -69,7 +69,7 @@ func TestValidatorTimeoutEncodeDecode(t *testing.T) { // Encode the message and verify the length is correct. encodedMsgBytes, err := originalMsg.ToBytes(false) require.NoError(t, err) - require.Equal(t, 268, len(encodedMsgBytes)) + require.Equal(t, 269, len(encodedMsgBytes)) // Decode the message. decodedMsg := &MsgDeSoValidatorTimeout{}