From 8d506971e827749f829bfd451e9ccda995ad4143 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Sat, 22 Sep 2018 15:34:54 +0100 Subject: [PATCH] BN.js udpated need toString --- lib/modules/profiler/fuzzer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/profiler/fuzzer.js b/lib/modules/profiler/fuzzer.js index 22d2ca90..4589dda8 100644 --- a/lib/modules/profiler/fuzzer.js +++ b/lib/modules/profiler/fuzzer.js @@ -82,7 +82,7 @@ class ContractFuzzer { } generateRandomInt(size) { - return utils.toBN(utils.randomHex(parseInt(size, 10) / 8)); + return utils.toBN(utils.randomHex(parseInt(size, 10) / 8)).toString(); } generateRandomAddress() {