mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-07 16:33:53 +00:00
applies formatting
This commit is contained in:
parent
870f6ccd8b
commit
f5f1fa96ab
@ -91,7 +91,7 @@ checksuite "Pending Blocks - inFlight":
|
||||
blk = bt.Block.new("Hello".toBytes).tryGet
|
||||
addrs = BlockAddress.init(blk.cid)
|
||||
discard pendingBlocks.getWantHandle(addrs)
|
||||
|
||||
|
||||
proc req(): BlockReq =
|
||||
pendingBlocks.blocks[addrs]
|
||||
|
||||
@ -100,13 +100,13 @@ checksuite "Pending Blocks - inFlight":
|
||||
|
||||
check:
|
||||
req().inFlight
|
||||
|
||||
|
||||
test "Sets inFlight (multiple)":
|
||||
pendingBlocks.setInFlight(@[addrs])
|
||||
|
||||
check:
|
||||
req().inFlight
|
||||
|
||||
|
||||
test "IsInFlight":
|
||||
pendingBlocks.setInFlight(addrs)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user