scrap comments in favor of self-documentation

This commit is contained in:
F. Eugene Aumson
2018-08-16 10:47:33 -07:00
parent acb3c0d0aa
commit 421a7394df

View File

@@ -179,9 +179,8 @@ export class Compiler {
const solcVersion = _.isUndefined(this._solcVersionIfExists) const solcVersion = _.isUndefined(this._solcVersionIfExists)
? semver.maxSatisfying(_.keys(binPaths), parseSolidityVersionRange(contractSource.source)) ? semver.maxSatisfying(_.keys(binPaths), parseSolidityVersionRange(contractSource.source))
: this._solcVersionIfExists; : this._solcVersionIfExists;
if (_.isUndefined(versionToInputs[solcVersion])) { const isFirstContractWithThisVersion = _.isUndefined(versionToInputs[solcVersion]);
// no inputs batched yet for this version. if (isFirstContractWithThisVersion) {
// prepare object to hold this batch.
versionToInputs[solcVersion] = { versionToInputs[solcVersion] = {
standardInput: { standardInput: {
language: 'Solidity', language: 'Solidity',