From 57660188afea5530b3f019d2b196b625982429ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Fri, 6 Oct 2023 15:47:17 +0300 Subject: [PATCH] eth/fetcher: linter linter linter linter linter --- eth/fetcher/tx_fetcher_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/fetcher/tx_fetcher_test.go b/eth/fetcher/tx_fetcher_test.go index 5c069e63fc..371e7dd310 100644 --- a/eth/fetcher/tx_fetcher_test.go +++ b/eth/fetcher/tx_fetcher_test.go @@ -47,7 +47,7 @@ type announce struct { size *uint32 } -func typeptr(t byte) *byte { b := byte(t); return &b } +func typeptr(t byte) *byte { return &t } func sizeptr(n uint32) *uint32 { return &n } type doTxNotify struct {