Skip to content

Commit c8138d7

Browse files
committed
fix: bad update
Signed-off-by: Tomás Migone <[email protected]>
1 parent da58926 commit c8138d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mappings/helpers/helpers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,7 @@ export function createOrLoadGraphNetwork(
796796
}
797797

798798
if (!addresses.isL1) {
799-
let l1BlockNumber = getL1BlockNumber()
800-
graphNetwork.lastLengthUpdateBlock = l1BlockNumber.toI32()
801-
graphNetwork.currentL1BlockNumber = l1BlockNumber
799+
graphNetwork.currentL1BlockNumber = getL1BlockNumber()
802800
}
803801

804802
if (

0 commit comments

Comments
 (0)