testing something

This commit is contained in:
Fredrik 2025-06-16 23:17:31 +02:00 committed by GitHub
parent b1495ab367
commit 830788e792
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ func init() {
}
func addCache(precompile common.Address, input, output []byte) {
/*
mu.Lock()
defer mu.Unlock()
cache, ok := caches[precompile]
@ -26,12 +26,12 @@ func addCache(precompile common.Address, input, output []byte) {
caches[precompile] = cache
}
cache.Add(string(input), output)
*/
}
func getCache(precompile common.Address, input []byte) ([]byte, bool) {
/*
mu.RLock()
defer mu.RUnlock()
cache, ok := caches[precompile]
@ -40,6 +40,6 @@ func getCache(precompile common.Address, input []byte) ([]byte, bool) {
return nil, false
}
return cache.Get(string(input))
*/
return nil, false
}