mirror of
https://github.com/logos-storage/logos-storage-network-crawler.git
synced 2026-01-09 08:53:11 +00:00
fixes formatting
This commit is contained in:
parent
693b421a61
commit
46264b90b5
@ -128,5 +128,5 @@ proc parseConfig*(): Config =
|
||||
marketplaceEnable: getEnable(get("--marketplaceEnable")),
|
||||
ethProvider: get("--ethProvider"),
|
||||
marketplaceAddress: get("--marketplaceAddress"),
|
||||
requestCheckDelay: parseInt(get("--requestCheckDelay"))
|
||||
requestCheckDelay: parseInt(get("--requestCheckDelay")),
|
||||
)
|
||||
|
||||
@ -22,11 +22,7 @@ method whileRunning*(s: MockState, step: OnStep, delay: Duration) {.async.} =
|
||||
proc createMockState*(): MockState =
|
||||
MockState(
|
||||
status: ApplicationStatus.Running,
|
||||
config: Config(
|
||||
dhtEnable: true,
|
||||
marketplaceEnable: true,
|
||||
requestCheckDelay: 4
|
||||
),
|
||||
config: Config(dhtEnable: true, marketplaceEnable: true, requestCheckDelay: 4),
|
||||
events: Events(
|
||||
nodesFound: newAsyncDataEvent[seq[Nid]](),
|
||||
newNodesDiscovered: newAsyncDataEvent[seq[Nid]](),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user