From d9ede323f2db72faf00ce362db3f9b331b863a88 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 20 Aug 2020 21:05:14 +0200 Subject: [PATCH] Add nonce to send-lockups.js --- ethereum/src/send-lockups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/src/send-lockups.js b/ethereum/src/send-lockups.js index c1cb49352..5ca87e51f 100644 --- a/ethereum/src/send-lockups.js +++ b/ethereum/src/send-lockups.js @@ -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();