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 {