diff --git a/ui/app/peers/[peerName]/lagGraph.tsx b/ui/app/peers/[peerName]/lagGraph.tsx index 7107b7d80..87b90fa8c 100644 --- a/ui/app/peers/[peerName]/lagGraph.tsx +++ b/ui/app/peers/[peerName]/lagGraph.tsx @@ -22,7 +22,7 @@ function parseLSN(lsn: string): number { if (!lsn) return 0; const [lsn1, lsn2] = lsn.split('/'); return Number( - (BigInt(parseInt(lsn1)) << BigInt(32)) | BigInt(parseInt(lsn2)) + (BigInt(parseInt(lsn1, 16)) << BigInt(32)) | BigInt(parseInt(lsn2, 16)) ); } @@ -135,7 +135,7 @@ export default function LagGraph({ peerName }: LagGraphProps) { /> setShowLsn((val) => !val)} /> )}