From af4f013cb91c116383932c1c27cada55c7d67482 Mon Sep 17 00:00:00 2001 From: Marie Gauthier Date: Fri, 13 May 2022 16:28:51 +0200 Subject: [PATCH] Update testutil/network/util.go Co-authored-by: Aleksandr Bezobchuk --- testutil/network/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutil/network/util.go b/testutil/network/util.go index cf64f63ef9ac..79777ed09881 100644 --- a/testutil/network/util.go +++ b/testutil/network/util.go @@ -57,7 +57,7 @@ func startInProcess(cfg Config, val *Validator) error { if val.RPCAddress != "" { node, ok := val.tmNode.(local.NodeService) if !ok { - return fmt.Errorf("can't cast %T to NodeService", val.tmNode) + return fmt.Errorf("failed to cast %T to NodeService", val.tmNode) } val.RPCClient, err = local.New(node) if err != nil {