diff --git a/api/service/explorer/service.go b/api/service/explorer/service.go index 65750064b..2184a318f 100644 --- a/api/service/explorer/service.go +++ b/api/service/explorer/service.go @@ -765,7 +765,9 @@ func (s *Service) GetExplorerAddress(w http.ResponseWriter, r *http.Request) { } data.Address.TXs = sentTXs } - if offset*page+offset > len(data.Address.TXs) { + if offset*page >= len(data.Address.TXs) { + data.Address.TXs = []*Transaction{} + } else if offset*page+offset > len(data.Address.TXs) { data.Address.TXs = data.Address.TXs[offset*page:] } else { data.Address.TXs = data.Address.TXs[offset*page : offset*page+offset]