This commit is contained in:
Łukasz Magiera 2020-11-30 14:26:42 +01:00
parent 01ad4c0514
commit 70732ac423

View File

@ -108,7 +108,8 @@ var rpcCmd = &cli.Command{
} }
return send(cctx.Args().Get(0), params) return send(cctx.Args().Get(0), params)
} else { }
cctx.App.Metadata["repoType"] = repo.FullNode cctx.App.Metadata["repoType"] = repo.FullNode
if err := lcli.VersionCmd.Action(cctx); err != nil { if err := lcli.VersionCmd.Action(cctx); err != nil {
return err return err
@ -152,7 +153,6 @@ var rpcCmd = &cli.Command{
_, _ = fmt.Fprintf(os.Stderr, "%v", err) _, _ = fmt.Fprintf(os.Stderr, "%v", err)
} }
} }
}
return nil return nil
}, },