diff --git a/common/common.go b/common/common.go index b21e23e..3164dc6 100644 --- a/common/common.go +++ b/common/common.go @@ -283,7 +283,7 @@ func CallRpcWithRetries(method string, params []json.RawMessage) (json.RawMessag result, err := RawRequest(method, params) if err == nil { if retryCount > 0 { - Log.Warn(fmt.Sprintf("%s RPC successful"), method) + Log.Warn(fmt.Sprintf("%s RPC successful", method)) } return result, err break @@ -292,7 +292,7 @@ func CallRpcWithRetries(method string, params []json.RawMessage) (json.RawMessag if retryCount > maxRetries { Log.WithFields(logrus.Fields{ "timeouts": retryCount, - }).Fatal(fmt.Sprintf("unable to issue %s RPC call to hushd node"), method) + }).Fatal(fmt.Sprintf("unable to issue %s RPC call to hushd node", method)) } Log.WithFields(logrus.Fields{ "error": err.Error(), diff --git a/frontend/service.go b/frontend/service.go index 985f159..5884bab 100644 --- a/frontend/service.go +++ b/frontend/service.go @@ -258,7 +258,7 @@ func (s *lwdStreamer) GetCoinsupply(ctx context.Context, in *walletrpc.Empty) (* }, nil } -// SendTransaction forwards raw transaction bytes to a zcashd instance over JSON-RPC +// SendTransaction forwards raw transaction bytes to a full node over JSON-RPC func (s *lwdStreamer) SendTransaction(ctx context.Context, rawtx *walletrpc.RawTransaction) (*walletrpc.SendResponse, error) { // sendrawtransaction "hexstring" ( allowhighfees ) //