mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
network: fix minor gofmt issues (spotted by goreportcard)
This commit is contained in:
parent
c8ba173493
commit
c896e2b731
2 changed files with 4 additions and 4 deletions
|
@ -11,9 +11,9 @@ type Ping struct {
|
|||
// Index of the last block.
|
||||
LastBlockIndex uint32
|
||||
// Timestamp.
|
||||
Timestamp uint32
|
||||
Timestamp uint32
|
||||
// Nonce of the server.
|
||||
Nonce uint32
|
||||
Nonce uint32
|
||||
}
|
||||
|
||||
// NewPing creates new Ping payload.
|
||||
|
|
|
@ -88,8 +88,8 @@ func NewServerConfig(cfg config.Config) ServerConfig {
|
|||
Seeds: protoConfig.SeedList,
|
||||
DialTimeout: appConfig.DialTimeout * time.Second,
|
||||
ProtoTickInterval: appConfig.ProtoTickInterval * time.Second,
|
||||
PingInterval: appConfig.PingInterval * time.Second,
|
||||
PingTimeout: appConfig.PingTimeout * time.Second,
|
||||
PingInterval: appConfig.PingInterval * time.Second,
|
||||
PingTimeout: appConfig.PingTimeout * time.Second,
|
||||
MaxPeers: appConfig.MaxPeers,
|
||||
AttemptConnPeers: appConfig.AttemptConnPeers,
|
||||
MinPeers: appConfig.MinPeers,
|
||||
|
|
Loading…
Reference in a new issue