File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -965,9 +965,15 @@ async def node_info_update(
965965 )
966966 await self .save_cache ()
967967
968+ if self ._current_log_address is not None and (
969+ # This can be the case after an energy-reset
970+ self ._current_log_address > node_info .current_logaddress_pointer
971+ or (self ._current_log_address < node_info .current_logaddress_pointer and self ._current_log_address == 0 )
972+ ):
973+
968974 if self ._current_log_address is not None and (
969975 # Change note: _curr_log_addr lags behind c_l_a__pointer so must be < instead of >
970- self ._current_log_address < node_info .current_logaddress_pointer
976+ self ._current_log_address < node_info .current_logaddress_pointer
971977 # Change note: rollover is from 6015 to 0 so must be 6015 instead of 0
972978 or self ._current_log_address == 6015
973979 ):
You can’t perform that action at this time.
0 commit comments