From e42cbb4ade0102880961db9450f8abc3c8ea5a6c Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Tue, 5 Jun 2018 15:07:41 -0500 Subject: [PATCH] one last change Signed-off-by: VoR0220 --- lib/modules/fuzzer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/fuzzer/index.js b/lib/modules/fuzzer/index.js index 7ff4dd6b..a38dc89c 100644 --- a/lib/modules/fuzzer/index.js +++ b/lib/modules/fuzzer/index.js @@ -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]);