formatting

This commit is contained in:
thatben 2025-03-11 09:36:09 +01:00
parent 56df7adfd8
commit 483f319e2c
No known key found for this signature in database
GPG Key ID: 62C543548433D43E
2 changed files with 3 additions and 4 deletions

View File

@ -92,7 +92,8 @@ import std/sugar
import std/typetraits
import pkg/chronicles except toJson, `%`
from pkg/libp2p import Cid, PeerId, SignedPeerRecord, MultiAddress, AddressInfo, init, `$`
from pkg/libp2p import
Cid, PeerId, SignedPeerRecord, MultiAddress, AddressInfo, init, `$`
from pkg/ethers import Address
import pkg/questionable
import pkg/questionable/results

View File

@ -22,9 +22,7 @@ method whileRunning*(s: MockState, step: OnStep, delay: Duration) {.async.} =
proc createMockState*(): MockState =
MockState(
status: ApplicationStatus.Running,
config: Config(
dhtEnable: true
),
config: Config(dhtEnable: true),
events: Events(
nodesFound: newAsyncDataEvent[seq[Nid]](),
newNodesDiscovered: newAsyncDataEvent[seq[Nid]](),