mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-02 08:56:11 +00:00
convert to BN instead of number
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
2056a7e9ad
commit
4858f8a19f
@ -82,7 +82,7 @@ class ContractFuzzer {
|
||||
}
|
||||
|
||||
generateRandomInt(size) {
|
||||
return utils.hexToNumber(utils.randomHex(size / 8));
|
||||
return utils.toBN(utils.randomHex(size / 8));
|
||||
}
|
||||
|
||||
generateRandomAddress() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user