[FAB-8584] Prevent deliver panic on closed iterator
The file-based ledger implementation of the iterator does not account
for the case where another thread may close the iterator, resulting in
the return of a (nil, nil) pair (block and error respectively).
This changeset addresses that.
Change-Id: Id77b311b60a8a3c64c4350fcaf9d3b5bf993bf87
Signed-off-by:
Kostas Christidis <kostas@christidis.io>
Please register or sign in to comment