Skip to content

Commit

Permalink
Merge pull request #6043 from multiversx/fix-linter-issue-2024.03.13
Browse files Browse the repository at this point in the history
Fixed linter issue
  • Loading branch information
iulianpascalau authored Mar 14, 2024
2 parents f731d80 + a8ce97c commit 935273d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions process/smartContract/scQueryService.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,6 @@ func (service *SCQueryService) recreateTrie(blockRootHash []byte, blockHeader da
return accountsAdapter.RecreateTrie(blockRootHash)
}

func (service *SCQueryService) getCurrentEpoch() uint32 {
header := service.mainBlockChain.GetCurrentBlockHeader()
if check.IfNil(header) {
return 0
}

return header.GetEpoch()
}

// TODO: extract duplicated code with nodeBlocks.go
func (service *SCQueryService) extractBlockHeaderAndRootHash(query *process.SCQuery) (data.HeaderHandler, []byte, error) {
if len(query.BlockHash) > 0 {
Expand Down

0 comments on commit 935273d

Please sign in to comment.