chore: remove unused field
Kim committed
Nov 17, 2025 at 09:41 UTC
05b868f4cac4175f0f1e35f60e5da22f6efce257
1 file changed
+4
-6
cmd/relay-server/frontend.go
+4
-6
@@ -30,9 +30,8 @@ var bootstrapURIs = "ws://localhost:4017/relay"
30
31
// wasmCache stores pre-loaded WASM files in memory (optional)
32
type wasmCacheEntry struct {
33
- original []byte
34
- brotli []byte
35
- hash string
33
+ brotli []byte
34
+ hash string
35
}
36
37
var (
@@ -92,9 +91,8 @@ func cacheWasmFile(name, fullPath string) error {
91
}
92
93
entry := &wasmCacheEntry{
95
- original: nil,
96
- brotli: brData,
97
- hash: hashHex,
94
+ brotli: brData,
95
+ hash: hashHex,
96
}
97
98
wasmCacheMu.Lock()