File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
common/types/message/euclid Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ func TestDeserializeProof(t *testing.T) {
1515
1616 // Decode the JSON data into an BatchTask instance.
1717 var batchProof BatchProof
18- if err : = json .Unmarshal (data , & batchProof ); err != nil {
18+ if err = json .Unmarshal (data , & batchProof ); err != nil {
1919 t .Fatalf ("failed to unmarshal JSON into Batch Proof: %v" , err )
2020 }
21- if err : = batchProof .SanityCheck (); err != nil {
21+ if err = batchProof .SanityCheck (); err != nil {
2222 t .Fatalf ("failed to sanity check for Batch Proof: %v" , err )
2323 }
2424
@@ -30,10 +30,10 @@ func TestDeserializeProof(t *testing.T) {
3030
3131 // Decode the JSON data into an BatchTask instance.
3232 var bundleProof BundleProof
33- if err : = json .Unmarshal (data , & bundleProof ); err != nil {
33+ if err = json .Unmarshal (data , & bundleProof ); err != nil {
3434 t .Fatalf ("failed to unmarshal JSON into Bundle Proof: %v" , err )
3535 }
36- if err : = bundleProof .SanityCheck (); err != nil {
36+ if err = bundleProof .SanityCheck (); err != nil {
3737 t .Fatalf ("failed to sanity check for Bundle Proof: %v" , err )
3838 }
3939}
You can’t perform that action at this time.
0 commit comments