Add nonce to send-lockups.js

This commit is contained in:
Leo 2020-08-20 21:05:14 +02:00
parent da8840e363
commit d9ede323f2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ module.exports = function(callback) {
await token.approve(bridge.address, "1000000000000000000");
while (true) {
let ev = await bridge.lockAssets(token.address, "1000", "0x1230000000000000000000000000000000000000000000000000000000000000", 3);
let ev = await bridge.lockAssets(token.address, "1000", "0x1230000000000000000000000000000000000000000000000000000000000000", 3, 0);
let block = await web3.eth.getBlock('latest');
console.log("block", block.number, "with txs", block.transactions, "and time", block.timestamp);
await advanceBlock();