mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-13 07:36:21 +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) {
|
generateRandomInt(size) {
|
||||||
return utils.hexToNumber(utils.randomHex(size / 8));
|
return utils.toBN(utils.randomHex(size / 8));
|
||||||
}
|
}
|
||||||
|
|
||||||
generateRandomAddress() {
|
generateRandomAddress() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user