mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 01:23:45 +00:00
Context keys must have a unique type in order to prevent any unintented clashes. The code used int(1) as key. Fix it by implementing the pattern recommended by package context. |
||
|---|---|---|
| .. | ||
| api.go | ||
| downloader.go | ||
| downloader_test.go | ||
| events.go | ||
| metrics.go | ||
| modes.go | ||
| peer.go | ||
| queue.go | ||
| types.go | ||