Skip to content

Commit

Permalink
Update error wrapping in GetProof
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jan 2, 2025
1 parent a14ab10 commit 44f2952
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 @@ -681,7 +681,7 @@ func (n *proofList) Delete(key []byte) error {
func (s *BlockChainAPI) GetProof(ctx context.Context, address common.Address, storageKeys []string, blockNrOrHash rpc.BlockNumberOrHash) (*AccountResult, error) {
err := s.isHistoricalStateQueryAllowed(blockNrOrHash)
if err != nil {
return nil, fmt.Errorf("checking if block is allowed to be queried: %w", err)
return nil, fmt.Errorf("checking if possibly historical state query is allowed: %w", err)
}

var (
Expand Down

0 comments on commit 44f2952

Please sign in to comment.