Skip to content

Commit

Permalink
Resolved the errors
Browse files Browse the repository at this point in the history
  • Loading branch information
VeerChaurasia committed Sep 25, 2024
1 parent cb32a71 commit 75dcc6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions execution/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package execution
import (
"sync"
"github.com/BlocSoc-iitr/selene/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/holiman/uint256"
)
type State struct {
Expand Down Expand Up @@ -118,7 +117,7 @@ func (s *State) GetBlockByHash(hash [32]byte) *common.Block {
}
return nil
}
func (s *State) GetTransaction(hash [32]byte) *types.Transaction {
func (s *State) GetTransaction(hash [32]byte) *common.Transaction {
s.mu.RLock()
defer s.mu.RUnlock()

Expand All @@ -131,7 +130,7 @@ func (s *State) GetTransaction(hash [32]byte) *types.Transaction {
}
return nil
}
func (s *State) GetTransactionByBlockAndIndex(blockHash [32]byte, index uint64) *types.Transaction {
func (s *State) GetTransactionByBlockAndIndex(blockHash [32]byte, index uint64) *common.Transaction {
s.mu.RLock()
defer s.mu.RUnlock()

Expand Down

0 comments on commit 75dcc6c

Please sign in to comment.