internal/ethapi: remove redundant type specifiers

This commit is contained in:
Matthew Halpern 2019-02-14 17:05:30 -08:00
parent 7f6b05aa43
commit 57bab05b12

View file

@ -753,7 +753,7 @@ func (s *PublicBlockChainAPI) Call(ctx context.Context, args CallArgs, blockNr r
func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNr rpc.BlockNumber) (hexutil.Uint64, error) { func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNr rpc.BlockNumber) (hexutil.Uint64, error) {
// Binary search the gas requirement, as it may be higher than the amount used // Binary search the gas requirement, as it may be higher than the amount used
var ( var (
lo uint64 = params.TxGas - 1 lo = params.TxGas - 1
hi uint64 hi uint64
cap uint64 cap uint64
) )