Skip to content

Commit

Permalink
Chore : Change function name for clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
Wade-wemade committed Nov 3, 2022
1 parent f644cc1 commit c376543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ func (s *PublicBlockChainAPI) BlockNumber() hexutil.Uint64 {
}

// GetBlockReceipts returns all the transaction receipts for the given block hash.
func (s *PublicBlockChainAPI) GetReceipts(ctx context.Context, blockHash common.Hash) ([]map[string]interface{}, error) {
func (s *PublicBlockChainAPI) GetReceiptsByHash(ctx context.Context, blockHash common.Hash) ([]map[string]interface{}, error) {
receipts, err1 := s.b.GetReceipts(ctx, blockHash)
if err1 != nil {
return nil, err1
Expand Down

0 comments on commit c376543

Please sign in to comment.