mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-07 15:07:36 +00:00
parent
df3eb76aa2
commit
2096ad6e81
32 changed files with 134 additions and 159 deletions
|
@ -9,7 +9,6 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"math/big"
|
||||
"os"
|
||||
"strconv"
|
||||
|
@ -503,7 +502,7 @@ func handleReset(c *cli.Context) error {
|
|||
}
|
||||
|
||||
func getManifestFromFile(name string) (*manifest.Manifest, error) {
|
||||
bs, err := ioutil.ReadFile(name)
|
||||
bs, err := os.ReadFile(name)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("%w: can't read manifest", ErrInvalidParameter)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue