Skip to content

Commit

Permalink
chore: fix some function names in interface comment (#1397)
Browse files Browse the repository at this point in the history
Signed-off-by: chuangjinglu <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
  • Loading branch information
chuangjinglu and ceyonur authored Dec 2, 2024
1 parent 7eb3f81 commit ee040d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion precompile/contract/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type ConfigurationBlockContext interface {

type BlockContext interface {
ConfigurationBlockContext
// GetResults returns an arbitrary byte array result of verifying the predicates
// GetPredicateResults returns an arbitrary byte array result of verifying the predicates
// of the given transaction, precompile address pair.
GetPredicateResults(txHash common.Hash, precompileAddress common.Address) []byte
}
Expand Down
2 changes: 1 addition & 1 deletion rpc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type ServerCodec interface {
type jsonWriter interface {
// writeJSON writes a message to the connection.
writeJSON(ctx context.Context, msg interface{}, isError bool) error
// writeJSON writes a message to the connection with the option of skipping the deadline.
// writeJSONSkipDeadline writes a message to the connection with the option of skipping the deadline.
writeJSONSkipDeadline(ctx context.Context, msg interface{}, isError bool, skip bool) error
// Closed returns a channel which is closed when the connection is closed.
closed() <-chan interface{}
Expand Down

0 comments on commit ee040d0

Please sign in to comment.