fixes formatting

This commit is contained in:
ThatBen 2025-03-24 09:27:52 +01:00
parent 693b421a61
commit 46264b90b5
No known key found for this signature in database
GPG Key ID: E020A7DDCD52E1AB
2 changed files with 2 additions and 6 deletions

View File

@ -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")),
)

View File

@ -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]](),