diff --git a/go/enclave/components/txpool.go b/go/enclave/components/txpool.go index bfc2a2598..214b5ff0a 100644 --- a/go/enclave/components/txpool.go +++ b/go/enclave/components/txpool.go @@ -274,7 +274,7 @@ func (t *TxPool) validateTxBasics(tx *types.Transaction, local bool) error { chField := v.FieldByName("currentHead") chFieldPtr := unsafe.Pointer(chField.UnsafeAddr()) - ch, ok := reflect.NewAt(chField.Type(), chFieldPtr).Elem().Interface().(atomic.Pointer[types.Header]) + ch, ok := reflect.NewAt(chField.Type(), chFieldPtr).Elem().Interface().(atomic.Pointer[types.Header]) //nolint:govet if !ok { t.logger.Crit("invalid mempool. should not happen") }