Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dusannosovic-ethernal committed Sep 13, 2024
1 parent 9a93645 commit 8cf1a9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/polybft/system_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (s *SystemStateImpl) GetNextCommittedIndexExternal(sourceChainID uint64) (u
return nextCommittedIndex.Uint64() + 1, nil
}

// GetNextCommittedIndex retrieves next committed internal bridge message index
func (s *SystemStateImpl) GetNextCommittedIndexInternal(destinationChainID uint64) (uint64, error) {
rawResult, err := s.sidechainBridgeContract.Call(
"lastCommittedInternal",
Expand Down

0 comments on commit 8cf1a9e

Please sign in to comment.