BN.js udpated need toString

This commit is contained in:
Anthony Laibe 2018-09-22 15:34:54 +01:00
parent 94758a1ea4
commit 8d506971e8
1 changed files with 1 additions and 1 deletions

View File

@ -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() {