[rpc] fix two unexpected refactor spelling mistakes

pull/3845/head
Jacky Wang 3 years ago committed by Leo Chen
parent ecd3b950d4
commit 4f80315b83
  1. 2
      rpc/staking.go
  2. 2
      rpc/transaction.go

@ -51,7 +51,7 @@ func (s *PublicStakingService) getBalanceByBlockNumber(
return balance, nil
}
// getAllValidatorInformation getHelper function to get all validator information for a given eth block number
// getAllValidatorInformation is the helper function to get all validator information for a given eth block number
func (s *PublicStakingService) getAllValidatorInformation(
ctx context.Context, page int, blockNum rpc.BlockNumber,
) ([]StructuredResponse, error) {

@ -820,7 +820,7 @@ func EstimateGas(ctx context.Context, hmy *hmy.Harmony, args CallArgs, gasCap *b
}
cap = hi
// Create a getHelper to check if a gas allowance results in an executable transaction
// Create a helper to check if a gas allowance results in an executable transaction
executable := func(gas uint64) (bool, *core.ExecutionResult, error) {
args.Gas = (*hexutil.Uint64)(&gas)

Loading…
Cancel
Save