nph tests

This commit is contained in:
thatben 2025-01-30 13:51:48 +01:00
parent 5cd506dd3b
commit 4191d94090
No known key found for this signature in database
GPG Key ID: 62C543548433D43E

View File

@ -63,8 +63,8 @@ checksuite "Pending Blocks":
discard blks.mapIt(pendingBlocks.getWantHandle(it.cid))
check:
blks.mapIt( $BlockAddress.init(it.cid) ).sorted(cmp[string]) ==
toSeq(pendingBlocks.wantList).mapIt( $it ).sorted(cmp[string])
blks.mapIt($BlockAddress.init(it.cid)).sorted(cmp[string]) ==
toSeq(pendingBlocks.wantList).mapIt($it).sorted(cmp[string])
test "Should get want handles list":
let