one last change

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
VoR0220 2018-06-05 15:07:41 -05:00
parent 95a06e0bf9
commit e42cbb4ade
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class ContractFuzzer {
contract.abiDefinition.filter((x) => x.inputs && x.inputs.length != 0).forEach((abiMethod) => {
let name = abiMethod.type === "constructor" ? "constructor" : abiMethod.name;
let inputTypes = abiMethod.inputs.map(input => input.type);
fuzzMap[name] = inputTypes.map(input => this.getTypeFuzz.bind(this));
fuzzMap[name] = inputTypes.map(input => this.getTypeFuzz(input));
});
}
for (let key in fuzzMap) self.logger.info(key + ":" + fuzzMap[key]);