BN.js udpated need toString
This commit is contained in:
parent
94758a1ea4
commit
8d506971e8
|
@ -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