@@ -51,8 +51,8 @@ func TestHandleDecryptionKeyIntegration(t *testing.T) {
5151 decryptionKeys := []* p2pmsg.Key {}
5252 for i , identityPreimage := range identityPreimages {
5353 key := & p2pmsg.Key {
54- Identity : identityPreimage .Bytes (),
55- Key : encodedDecryptionKeys [i ],
54+ IdentityPreimage : identityPreimage .Bytes (),
55+ Key : encodedDecryptionKeys [i ],
5656 }
5757 decryptionKeys = append (decryptionKeys , key )
5858 }
@@ -106,8 +106,8 @@ func TestDecryptionKeyValidatorIntegration(t *testing.T) {
106106 Eon : keyperConfigIndex ,
107107 Keys : []* p2pmsg.Key {
108108 {
109- Identity : identityPreimage .Bytes (),
110- Key : secretKey .Marshal (),
109+ IdentityPreimage : identityPreimage .Bytes (),
110+ Key : secretKey .Marshal (),
111111 },
112112 },
113113 },
@@ -120,8 +120,8 @@ func TestDecryptionKeyValidatorIntegration(t *testing.T) {
120120 Eon : keyperConfigIndex ,
121121 Keys : []* p2pmsg.Key {
122122 {
123- Identity : wrongIdentityPreimage .Bytes (),
124- Key : secretKey .Marshal (),
123+ IdentityPreimage : wrongIdentityPreimage .Bytes (),
124+ Key : secretKey .Marshal (),
125125 },
126126 },
127127 },
@@ -134,8 +134,8 @@ func TestDecryptionKeyValidatorIntegration(t *testing.T) {
134134 Eon : keyperConfigIndex ,
135135 Keys : []* p2pmsg.Key {
136136 {
137- Identity : identityPreimage .Bytes (),
138- Key : secretKey .Marshal (),
137+ IdentityPreimage : identityPreimage .Bytes (),
138+ Key : secretKey .Marshal (),
139139 },
140140 },
141141 },
@@ -157,12 +157,12 @@ func TestDecryptionKeyValidatorIntegration(t *testing.T) {
157157 Eon : keyperConfigIndex ,
158158 Keys : []* p2pmsg.Key {
159159 {
160- Identity : secondIdentityPreimage .Bytes (),
161- Key : secondSecretKey .Marshal (),
160+ IdentityPreimage : secondIdentityPreimage .Bytes (),
161+ Key : secondSecretKey .Marshal (),
162162 },
163163 {
164- Identity : identityPreimage .Bytes (),
165- Key : secretKey .Marshal (),
164+ IdentityPreimage : identityPreimage .Bytes (),
165+ Key : secretKey .Marshal (),
166166 },
167167 },
168168 },
0 commit comments