Skip to content
Open
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
4 changes: 2 additions & 2 deletions rpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func (h *handler) addRequestOp(op *requestOp) {
}
}

// removeRequestOps stops waiting for the given request IDs.
// removeRequestOp stops waiting for the given request IDs.
func (h *handler) removeRequestOp(op *requestOp) {
for _, id := range op.ids {
delete(h.respWait, string(id))
Expand Down Expand Up @@ -395,7 +395,7 @@ func (h *handler) startCallProc(fn func(*callProc)) {
})
}

// handleResponse processes method call responses.
// handleResponses processes method call responses.
func (h *handler) handleResponses(batch []*jsonrpcMessage, handleCall func(*jsonrpcMessage)) {
var resolvedops []*requestOp
handleResp := func(msg *jsonrpcMessage) {
Expand Down
2 changes: 1 addition & 1 deletion signer/core/signed_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func fromHex(data any) ([]byte, error) {
return nil, fmt.Errorf("wrong type %T", data)
}

// typeDataRequest tries to convert the data into a SignDataRequest.
// typedDataRequest tries to convert the data into a SignDataRequest.
func typedDataRequest(data any) (*SignDataRequest, error) {
var typedData apitypes.TypedData
if td, ok := data.(apitypes.TypedData); ok {
Expand Down
2 changes: 1 addition & 1 deletion trie/dummy_trie.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (t *EmptyTrie) UpdateStorage(_ common.Address, key, value []byte) error {
return nil
}

// TryUpdateAccount abstract an account write in the trie.
// UpdateAccount abstract an account write in the trie.
func (t *EmptyTrie) UpdateAccount(address common.Address, account *types.StateAccount) error {
return nil
}
Expand Down