Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Sep 15, 2023
1 parent bc1743a commit fc5ca83
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ func (j *jsonRPCHub) GetAccount(root types.Hash, addr types.Address) (*jsonrpc.A
return account, nil
}

// TODO: use eth_getProof once it is available in Polygon Edge
func (j *jsonRPCHub) GetAccountProof(root types.Hash, addr types.Address) ([][]byte, error) {
proof, err := getAccountProofImpl(j.state, root, addr)
if err != nil {
Expand Down Expand Up @@ -736,7 +735,6 @@ func (j *jsonRPCHub) GetStorage(stateRoot types.Hash, addr types.Address, slot t
return res.Bytes(), nil
}

// TODO: use eth_getProof once it is available in Polygon Edge
func (j *jsonRPCHub) GetStorageProof(stateRoot types.Hash, addr types.Address, slot types.Hash) ([][]byte, error) {
account, err := getAccountImpl(j.state, stateRoot, addr)
if err != nil {
Expand Down

0 comments on commit fc5ca83

Please sign in to comment.