context: remove verifier & trust node (#6805)

* remove verifier

* more removal of trustnode flag

* add todo

* fix lint

* remove file

* remove viper and add link to issue

* remve mention of trustnode
This commit is contained in:
Marko
2020-07-23 06:44:18 +00:00
committed by GitHub
parent e0a81d2cca
commit e6a56226a8
24 changed files with 17 additions and 303 deletions
+1 -2
View File
@@ -60,8 +60,7 @@ func startInProcess(cfg Config, val *Validator) error {
if val.APIAddress != "" {
val.ClientCtx = val.ClientCtx.
WithClient(val.RPCClient).
WithTrustNode(true)
WithClient(val.RPCClient)
apiSrv := api.New(val.ClientCtx, logger.With("module", "api-server"))
app.RegisterAPIRoutes(apiSrv)