Skip to content

Commit

Permalink
now using go 1.15 supported function
Browse files Browse the repository at this point in the history
  • Loading branch information
Almog Tal committed Aug 29, 2022
1 parent 3ea7476 commit 8d29b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stateproofs/stateProofVerifier_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package stateproofverification

import (
"os"
"io/ioutil"
"testing"

"github.com/stretchr/testify/require"
Expand All @@ -12,7 +12,7 @@ import (
)

func readJsonFile(filePath string, target interface{}, assertions *require.Assertions) {
contents, err := os.ReadFile(filePath)
contents, err := ioutil.ReadFile(filePath)
assertions.NoError(err)

err = json.Decode(contents, &target)
Expand Down

0 comments on commit 8d29b99

Please sign in to comment.