diff --git a/external/vaults/prepare.getVaults.go b/external/vaults/prepare.getVaults.go index 7d3b69c5..71212fd8 100644 --- a/external/vaults/prepare.getVaults.go +++ b/external/vaults/prepare.getVaults.go @@ -214,6 +214,9 @@ func getVaults( if end > uint64(len(data)) { end = uint64(len(data)) } + if start >= uint64(len(data)) { + return []TSimplifiedExternalVault{} + } data = data[start:end] logs.Pretty(len(data))