diff --git a/consensus/polybft/system_state.go b/consensus/polybft/system_state.go index 75f25387c6..d0aec452d4 100644 --- a/consensus/polybft/system_state.go +++ b/consensus/polybft/system_state.go @@ -90,7 +90,7 @@ func (s *SystemStateImpl) GetNextCommittedIndexExternal(sourceChainID uint64) (u return nextCommittedIndex.Uint64() + 1, nil } -// GetNextCommittedIndex retrieves next committed internal bridge message index +// GetNextCommittedIndexInternal retrieves next committed internal bridge message index func (s *SystemStateImpl) GetNextCommittedIndexInternal(destinationChainID uint64) (uint64, error) { rawResult, err := s.sidechainBridgeContract.Call( "lastCommittedInternal",