Closed VexyCats closed 4 years ago
thanks for your issue, it will fix in new version ZIlPay.
for use toDS you need to set attributes as this:
const tx = await contract.call(
'Roll',
[
{
vname: 'rol',
type: 'Uint128',
value: this.range.toString()
}
],
{
amount,
gasPrice,
gasLimit: utils.Long.fromNumber(9000)
},
33,
1000,
true
)
Submitting a contract call transaction will never set toDS as true with the newest 0.4.6 changes.
Following code will always submit the transaction without toDS as true.