diff --git a/app/lib/computation/QuickSync.ts b/app/lib/computation/QuickSync.ts index 05d2168236db44b0f1cca3f07a94e51be1c37b72..aa1e4791e064c9e810ef6c4a990ed97e9fa1ac6f 100644 --- a/app/lib/computation/QuickSync.ts +++ b/app/lib/computation/QuickSync.ts @@ -154,18 +154,16 @@ export class QuickSynchronizer { || block.certifications.length || block.transactions.length || block.medianTime >= sync_nextExpiring) { - // logger.warn('>> Block#%s', block.number) + const nextExpiringChanged = block.medianTime >= sync_nextExpiring for (let i = 0; i < sync_expires.length; i++) { let expire = sync_expires[i]; - if (block.medianTime > expire) { + if (block.medianTime >= expire) { sync_expires.splice(i, 1); i--; } } - const currentNextExpiring = sync_nextExpiring sync_nextExpiring = sync_expires.reduce((max, value) => max ? Math.min(max, value) : value, 9007199254740991); // Far far away date - const nextExpiringChanged = currentNextExpiring !== sync_nextExpiring // Fills in correctly the SINDEX await Promise.all(Underscore.where(sync_sindex.concat(local_sindex), { op: 'UPDATE' }).map(async (entry: any) => { diff --git a/gui/index.html b/gui/index.html index 5c70a08456ee65ccb9ce21133b574bfbc2e53ed6..6084bbaf83e9ebf1c20311c96cf65659c68b3009 100644 --- a/gui/index.html +++ b/gui/index.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <title>Duniter 1.6.23</title> + <title>Duniter 1.6.25</title> <style> html { font-family: "Courier New", Courier, monospace; diff --git a/package.json b/package.json index 838fbfbda1da3b132dd1af511b32198f69f091ac..f559351fc2cf6919359912552df4cdab016ef582 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "duniter", - "version": "1.6.23", + "version": "1.6.25", "engines": { "node": ">=8.2.1 <10", "npm": ">=3.10" @@ -12,7 +12,7 @@ "node-main": "./bin/duniter", "window": { "icon": "duniter.png", - "title": "v1.6.23", + "title": "v1.6.25", "width": 800, "height": 800, "min_width": 750, diff --git a/release/arch/windows/duniter.iss b/release/arch/windows/duniter.iss index 04619e1f3e9fd034e57716155249cdfd77fb86ef..c073410eb852d58e6481eb274e69fa1dfe42bfd0 100644 --- a/release/arch/windows/duniter.iss +++ b/release/arch/windows/duniter.iss @@ -15,7 +15,7 @@ #error "Unable to find MyAppExe" #endif -#define MyAppVerStr "v1.6.23" +#define MyAppVerStr "v1.6.25" [Setup] AppName={#MyAppName} diff --git a/release/extra/debian/package/DEBIAN/control b/release/extra/debian/package/DEBIAN/control index eb524307e46232296c8f8ea5fa73f5f9b9025f10..063f1aa21d4c4a2b866ee488f4c4aa59ed0c7f79 100644 --- a/release/extra/debian/package/DEBIAN/control +++ b/release/extra/debian/package/DEBIAN/control @@ -1,5 +1,5 @@ Package: duniter -Version: 1.6.23 +Version: 1.6.25 Depends: unzip Section: misc Priority: optional