mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p/simulations: remove JSON annotation from private fields of Node
As unexported fields are not serialized.
This commit is contained in:
parent
7d6bc331e2
commit
f2aba104b9
1 changed files with 2 additions and 2 deletions
|
|
@ -586,8 +586,8 @@ type Node struct {
|
||||||
Config *adapters.NodeConfig `json:"config"`
|
Config *adapters.NodeConfig `json:"config"`
|
||||||
|
|
||||||
// up tracks whether or not the node is running
|
// up tracks whether or not the node is running
|
||||||
up bool `json:"up"`
|
up bool
|
||||||
upMu sync.RWMutex `json:"-"`
|
upMu sync.RWMutex
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n *Node) Up() bool {
|
func (n *Node) Up() bool {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue