Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
mjadach-iv committed Aug 27, 2024
1 parent 4b1bfa1 commit aa4e8de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/node/info/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ function InfoPage() {
const blockNumberFromInfo = useAppSelector((store) => store.node.info.data?.indexerBlock); // >=2.1.3
const blockNumberCheckSumFromInfo = useAppSelector((store) => store.node.info.data?.indexerChecksum); // >=2.1.3
const blockNumberPrevIndexedWithHOPRdata = useAppSelector((store) => store.node.info.data?.indexBlockPrevChecksum); // >=2.1.4
const blockNumberIndexedWithHOPRdata = blockNumberPrevIndexedWithHOPRdata ? blockNumberPrevIndexedWithHOPRdata + 1 : null;
const blockNumberIndexedWithHOPRdata = blockNumberPrevIndexedWithHOPRdata
? blockNumberPrevIndexedWithHOPRdata + 1
: null;
const blockNumber = blockNumberFromMetrics ?? blockNumberFromInfo;
const blockNumberCheckSum = blockNumberCheckSumFromMetrics ?? blockNumberCheckSumFromInfo;

Expand Down

0 comments on commit aa4e8de

Please sign in to comment.