diff --git a/rlp/typecache.go b/rlp/typecache.go index 3df799e1ecd58df27abbbe6f247a1bb316c278ab..8c2dd518e296d87126e933ae3b812d45bd995a72 100644 --- a/rlp/typecache.go +++ b/rlp/typecache.go @@ -76,7 +76,7 @@ func cachedTypeInfo1(typ reflect.Type, tags tags) (*typeinfo, error) { // another goroutine got the write lock first return info, nil } - // put a dummmy value into the cache before generating. + // put a dummy value into the cache before generating. // if the generator tries to lookup itself, it will get // the dummy value and won't call itself recursively. typeCache[key] = new(typeinfo)