[#172] Use ContainersOf() for container list fetching

Previously we were limited by ~2048 containers because of
neo-go VM limits.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-03-24 11:57:35 +03:00 committed by Gitea
parent 9e54646248
commit 382ecae96a
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ func (c cnrSource) Get(id cid.ID) (*container.Container, error) {
}
func (c cnrSource) List() ([]cid.ID, error) {
return c.cli.List(nil)
return c.cli.ContainersOf(nil)
}
func initTreeService(c *cfg) {