mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
internal/ethapi: golint fixes
This commit is contained in:
parent
405cb7ef27
commit
c4dfa9dd86
1 changed files with 2 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ func (s *PublicBlockChainAPI) GetBalance(ctx context.Context, address common.Add
|
||||||
return (*hexutil.Big)(state.GetBalance(address)), state.Error()
|
return (*hexutil.Big)(state.GetBalance(address)), state.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// AccountResult is a struct for GetProof
|
// AccountResult is a struct for GetProof()
|
||||||
type AccountResult struct {
|
type AccountResult struct {
|
||||||
Address common.Address `json:"address"`
|
Address common.Address `json:"address"`
|
||||||
AccountProof []string `json:"accountProof"`
|
AccountProof []string `json:"accountProof"`
|
||||||
|
|
@ -548,6 +548,7 @@ type AccountResult struct {
|
||||||
StorageHash common.Hash `json:"storageHash"`
|
StorageHash common.Hash `json:"storageHash"`
|
||||||
StorageProof []StorageResult `json:"storageProof"`
|
StorageProof []StorageResult `json:"storageProof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StorageResult is a struct for storing proofs
|
// StorageResult is a struct for storing proofs
|
||||||
type StorageResult struct {
|
type StorageResult struct {
|
||||||
Key string `json:"key"`
|
Key string `json:"key"`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue