File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning].
77
88## [ Unreleased]
99
10+ ## [ 1.3.2] - 2024-05-06
11+
12+ ### Fixed
13+
14+ - fix broken startNodeHeight which broke the ETA timer
15+
1016## [ 1.3.1] - 2024-05-02
1117
1218### Changed
Original file line number Diff line number Diff line change 207207 }
208208
209209 nodeHeight = await myNode .eth .getBlockNumber ();
210+ // set the startNodeHeight once
211+ if (startNodeHeight === undefined ) startNodeHeight = nodeHeight ;
210212 chainHeight = await L2TaikoRPC .eth .getBlockNumber ();
211213
212214 /*
380382 // Initialize the RPC connections
381383 await initConnections ();
382384
383- // Set startNodeHeight of the node if the RPC is successfully set
384- if (! fetchMyNodeError && myNode )
385- myNode .eth .getBlockNumber ().then ((height ) => (startNodeHeight = height ));
386-
387385 // Interval to fetch metrics every 5 seconds
388386 intervalTimer = setInterval (async () => {
389387 try {
You can’t perform that action at this time.
0 commit comments