Skip to content

Commit

Permalink
Rename Funcs
Browse files Browse the repository at this point in the history
Co-authored-by: cabrador <[email protected]>
  • Loading branch information
rpl-ffl and cabrador authored Sep 25, 2024
1 parent 7f435fb commit 0f0919d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/substate_encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ type substateEncoding struct {
}

// decoderFunc aliases the common function used to decode substate
type decoderFunc func([]byte, uint64, int) (*substate.Substate, error)
type decodeFunc func([]byte, uint64, int) (*substate.Substate, error)

// codeLookup aliases codehash->code lookup necessary to decode substate
type codeLookup = func(types.Hash) ([]byte, error)
type codeLookupFunc = func(types.Hash) ([]byte, error)

// newSubstateDecoder returns requested SubstateDecoder
func newSubstateEncoding(encoding string, lookup codeLookup) (*substateEncoding, error) {
Expand Down

0 comments on commit 0f0919d

Please sign in to comment.