Update src/pages/Explorer/block.state.ts

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
Victor Oliva
2025-04-25 10:48:11 +02:00
committed by GitHub
co-authored by Carlo Sala
parent 51d82f2640
commit 58fc6a5a71
+1 -1
View File
@@ -72,7 +72,7 @@ export const [blockInfo$, recordedBlocks$] = partitionByKey(
hash: of(hash),
parent: of(parent),
number: of(number),
body: from(client.getBlockBody(hash)).pipe(
body: client.watchBlockBody(hash).pipe(
startWith(null),
catchError((err) => {
console.error("fetch body failed", err)