From 2fff837775e6207b84e94d67403695005134381c Mon Sep 17 00:00:00 2001 From: zramsay <zach@monax.io> Date: Thu, 11 May 2017 13:02:05 -0400 Subject: [PATCH] client: # of verbs should match # of arguments in Errorf --- client/node_client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/node_client.go b/client/node_client.go index adc450cd..a7d49a14 100644 --- a/client/node_client.go +++ b/client/node_client.go @@ -173,8 +173,8 @@ func (burrowNodeClient *burrowNodeClient) QueryContract(callerAddress, calleeAdd client := rpcclient.NewJSONRPCClient(burrowNodeClient.broadcastRPC) callResult, err := tendermint_client.Call(client, callerAddress, calleeAddress, data) if err != nil { - err = fmt.Errorf("Error connnecting to node (%s) to query contract at (%X) with data (%X)", - burrowNodeClient.broadcastRPC, calleeAddress, data, err.Error()) + err = fmt.Errorf("Error (%v) connnecting to node (%s) to query contract at (%X) with data (%X)", + err.Error(), burrowNodeClient.broadcastRPC, calleeAddress, data) return nil, int64(0), err } return callResult.Return, callResult.GasUsed, nil -- GitLab