Merge pull request #896 from embark-framework/bugfix/bn-update

BN.js udpated need toString
This commit is contained in:
Iuri Matias 2018-09-22 10:35:53 -04:00 committed by GitHub
commit 62c51159c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {