From 54498456c14a5987e2fae8d707f6947c73296213 Mon Sep 17 00:00:00 2001 From: Simon Jentzsch Date: Sat, 22 Sep 2018 08:50:26 +0200 Subject: [PATCH] fixed docu --- internal/ethapi/api.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index a0480bc5f7..cf947919f9 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -502,9 +502,7 @@ func (s *PublicBlockChainAPI) GetBalance(ctx context.Context, address common.Add return (*hexutil.Big)(state.GetBalance(address)), state.Error() } -// GetBalance returns the amount of wei for the given address in the state of the -// given block number. The rpc.LatestBlockNumber and rpc.PendingBlockNumber meta -// block numbers are also allowed. +// GetProof returns the Merkle-proof for a given account and optionally some storage keys. func (s *PublicBlockChainAPI) GetProof(ctx context.Context, address common.Address, storageKeys []string, blockNr rpc.BlockNumber) (map[string]interface{}, error) { state, _, err := s.b.StateAndHeaderByNumber(ctx, blockNr) if state == nil || err != nil {