Shell: small bugfix preventing mempool cleanup.
This commit is contained in:
parent
c7c7ffbd0e
commit
d351bb1608
@ -559,7 +559,7 @@ module Operation_list = struct
|
|||||||
|
|
||||||
let rec do_read net block acc i =
|
let rec do_read net block acc i =
|
||||||
if i <= 0 then
|
if i <= 0 then
|
||||||
Lwt.return []
|
Lwt.return acc
|
||||||
else
|
else
|
||||||
read_exn net (block, i-1) >>= fun ops ->
|
read_exn net (block, i-1) >>= fun ops ->
|
||||||
do_read net block (ops :: acc) (i-1)
|
do_read net block (ops :: acc) (i-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user