diff --git a/src/lib/components/BlockTable.svelte b/src/lib/components/BlockTable.svelte
index 9ff1c28..43f9ccd 100644
--- a/src/lib/components/BlockTable.svelte
+++ b/src/lib/components/BlockTable.svelte
@@ -31,7 +31,7 @@
-
+
{truncateHash(block.hash, 10)}
|
diff --git a/src/lib/utils.ts b/src/lib/utils.ts
index fa1eddb..be8ea91 100644
--- a/src/lib/utils.ts
+++ b/src/lib/utils.ts
@@ -23,6 +23,7 @@ export function formatDifficulty(diff: number): string {
if (diff >= 1e9) return (diff / 1e9).toFixed(2) + 'G';
if (diff >= 1e6) return (diff / 1e6).toFixed(2) + 'M';
if (diff >= 1e3) return (diff / 1e3).toFixed(2) + 'K';
+ if (diff > 0 && diff < 0.01) return diff.toPrecision(3); // PoS difficulty is tiny
return diff.toFixed(4);
}
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index ce0d997..a0af0ea 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -26,8 +26,9 @@