Skip to content

Commit ee040d0

Browse files
chore: fix some function names in interface comment (#1397)
Signed-off-by: chuangjinglu <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]>
1 parent 7eb3f81 commit ee040d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

precompile/contract/interfaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type ConfigurationBlockContext interface {
6060

6161
type BlockContext interface {
6262
ConfigurationBlockContext
63-
// GetResults returns an arbitrary byte array result of verifying the predicates
63+
// GetPredicateResults returns an arbitrary byte array result of verifying the predicates
6464
// of the given transaction, precompile address pair.
6565
GetPredicateResults(txHash common.Hash, precompileAddress common.Address) []byte
6666
}

rpc/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ type ServerCodec interface {
6262
type jsonWriter interface {
6363
// writeJSON writes a message to the connection.
6464
writeJSON(ctx context.Context, msg interface{}, isError bool) error
65-
// writeJSON writes a message to the connection with the option of skipping the deadline.
65+
// writeJSONSkipDeadline writes a message to the connection with the option of skipping the deadline.
6666
writeJSONSkipDeadline(ctx context.Context, msg interface{}, isError bool, skip bool) error
6767
// Closed returns a channel which is closed when the connection is closed.
6868
closed() <-chan interface{}

0 commit comments

Comments
 (0)