nosec G705

This commit is contained in:
0xmuralik
2022-10-18 12:14:29 +05:30
parent 906ec2a06c
commit 670dc398e4
13 changed files with 16 additions and 11 deletions
-3
View File
@@ -87,7 +87,6 @@ func call(t *testing.T, method string, params interface{}) *Response {
require.NoError(t, err)
time.Sleep(1 * time.Second)
/* #nosec */
res, err := http.Post(HOST, "application/json", bytes.NewBuffer(req))
require.NoError(t, err)
@@ -110,7 +109,6 @@ func callWithError(method string, params interface{}) (*Response, error) {
}
time.Sleep(1 * time.Second)
/* #nosec */
res, err := http.Post(HOST, "application/json", bytes.NewBuffer(req))
if err != nil {
return nil, err
@@ -246,7 +244,6 @@ func TestEth_GetFilterChanges_WrongID(t *testing.T) {
req, err := json.Marshal(createRequest("eth_getFilterChanges", []string{"0x1122334400000077"}))
require.NoError(t, err)
/* #nosec */
res, err := http.Post(HOST, "application/json", bytes.NewBuffer(req))
require.NoError(t, err)