fix/355-increase-tree-service-client-cache-size #359
1 changed files with 1 additions and 2 deletions
|
@ -402,9 +402,8 @@ func (c *initializeContext) readContracts(names []string) error {
|
|||
var r io.ReadCloser
|
||||
if c.ContractPath == "" {
|
||||
return errors.New("contracts flag is missing")
|
||||
} else {
|
||||
r, err = os.Open(c.ContractPath)
|
||||
}
|
||||
r, err = os.Open(c.ContractPath)
|
||||
if err != nil {
|
||||
return fmt.Errorf("can't open contracts archive: %w", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue