Release v2.1.52 with readable account storage and verified usage percentages
CI / verify (push) Canceled after 0s
CI / verify (push) Canceled after 0s
This commit is contained in:
1 parent
a9f4b69ba7
commit
c3a6a20b67
7 files changed
+25
-9
No files matched your search
@@ -15,7 +15,7 @@ function parseVoeAccountStorage(html) {
|
||||
if (spans.length !== 2 || !/\bfloat-end\b/.test(spans[1][1])) continue;
|
||||
const used = parseStorageAmount(spans[0][2]);
|
||||
const total = parseStorageAmount(spans[1][2]);
|
||||
if (used && total && total.value > 0) return { used, total };
|
||||
if (used && total && total.value > 0) return { used, total, unitBase: 1024 };
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user