[#655] storage: Drop LazyHandler

LazyHandler is implemented and used incorrectly.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-11-15 13:12:23 +03:00
parent 4d5be5ccb5
commit 137e987a4e
6 changed files with 19 additions and 69 deletions

View file

@ -53,9 +53,7 @@ func (b *Blobovniczas) Iterate(ctx context.Context, prm common.IteratePrm) (comm
StorageID: []byte(p),
})
}
return prm.LazyHandler(elem.Address(), func() ([]byte, error) {
return data, err
})
return nil
})
subPrm.DecodeAddresses()