mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-27 22:16:15 +00:00
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) {
|
generateRandomInt(size) {
|
||||||
return utils.toBN(utils.randomHex(parseInt(size, 10) / 8));
|
return utils.toBN(utils.randomHex(parseInt(size, 10) / 8)).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
generateRandomAddress() {
|
generateRandomAddress() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user