Merge pull request #896 from embark-framework/bugfix/bn-update
BN.js udpated need toString
This commit is contained in:
commit
62c51159c5
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue