Update src/pages/Explorer/block.state.ts
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
co-authored by
Carlo Sala
parent
51d82f2640
commit
58fc6a5a71
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user