File tree 1 file changed +2
-2
lines changed
src/test/scala/io/iohk/ethereum/blockchain/sync/regular
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class BlockFetcherStateSpec
75
75
.flatMap(_.tryInsertBlock(testBlock, peerId))
76
76
77
77
assert(result.map(_.waitingHeaders) === Right (Queue .empty))
78
- assert(result.map(_.readyBlocks) === Right (Queue .empty.enqueue (front :+ testBlock)))
78
+ assert(result.map(_.readyBlocks) === Right (Queue .empty.enqueueAll (front :+ testBlock)))
79
79
front.foreach { block =>
80
80
assert(result.map(_.blockProviders(block.number)) === Right (peer))
81
81
}
@@ -93,7 +93,7 @@ class BlockFetcherStateSpec
93
93
.flatMap(_.tryInsertBlock(testBlock, peer))
94
94
95
95
assert(result.map(_.readyBlocks) === Right (Queue .empty))
96
- assert(result.map(_.waitingHeaders) === Right (Queue .empty.enqueue ((front :+ testBlock).map(_.header))))
96
+ assert(result.map(_.waitingHeaders) === Right (Queue .empty.enqueueAll ((front :+ testBlock).map(_.header))))
97
97
assert(result.map(_.knownTop) === Right (testBlock.number))
98
98
}
99
99
You can’t perform that action at this time.
0 commit comments