Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: fix some function names in interface comment #1397

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading