swarm/api: fix TestDumpConfig
This commit is contained in:
parent
9e99a0c2b9
commit
7d56602391
@ -81,20 +81,21 @@ func NewConfig() (c *Config) {
|
|||||||
FileStoreParams: storage.NewFileStoreParams(),
|
FileStoreParams: storage.NewFileStoreParams(),
|
||||||
HiveParams: network.NewHiveParams(),
|
HiveParams: network.NewHiveParams(),
|
||||||
//SyncParams: network.NewDefaultSyncParams(),
|
//SyncParams: network.NewDefaultSyncParams(),
|
||||||
Swap: swap.NewDefaultSwapParams(),
|
Swap: swap.NewDefaultSwapParams(),
|
||||||
Pss: pss.NewPssParams(),
|
Pss: pss.NewPssParams(),
|
||||||
ListenAddr: DefaultHTTPListenAddr,
|
ListenAddr: DefaultHTTPListenAddr,
|
||||||
Port: DefaultHTTPPort,
|
Port: DefaultHTTPPort,
|
||||||
Path: node.DefaultDataDir(),
|
Path: node.DefaultDataDir(),
|
||||||
EnsAPIs: nil,
|
EnsAPIs: nil,
|
||||||
EnsRoot: ens.TestNetAddress,
|
EnsRoot: ens.TestNetAddress,
|
||||||
NetworkID: network.DefaultNetworkID,
|
NetworkID: network.DefaultNetworkID,
|
||||||
SwapEnabled: false,
|
SwapEnabled: false,
|
||||||
SyncEnabled: true,
|
SyncEnabled: true,
|
||||||
SyncingSkipCheck: false,
|
SyncingSkipCheck: false,
|
||||||
DeliverySkipCheck: true,
|
MaxStreamPeerServers: 10000,
|
||||||
SyncUpdateDelay: 15 * time.Second,
|
DeliverySkipCheck: true,
|
||||||
SwapAPI: "",
|
SyncUpdateDelay: 15 * time.Second,
|
||||||
|
SwapAPI: "",
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user