fix: sentry 3491636110

This commit is contained in:
poka 2022-08-15 17:31:17 +02:00
parent 3fad0f03f0
commit eaf81aa701
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ class DuniterIndexer with ChangeNotifier {
client.connectionTimeout = const Duration(milliseconds: 3000);
do {
int listLenght = listIndexerEndpoints.length;
int listLenght = listIndexerEndpoints.length - 1;
if (i >= listLenght) {
log.e('NO VALID INDEXER ENDPOINT FOUND');
indexerEndpoint = '';

View File

@ -5,7 +5,7 @@ description: Pay with G1.
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.0.9+19
version: 0.0.9+20
environment:
sdk: '>=2.12.0 <3.0.0'