From 5abf4325e927fc3cb5ed59f1c5e874a4ae263f99 Mon Sep 17 00:00:00 2001 From: akayi07 Date: Wed, 13 Jul 2022 21:17:23 +0800 Subject: [PATCH] modify Withdraw.sol to correct parameters --- contracts/Withdraw.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/Withdraw.sol b/contracts/Withdraw.sol index 6cb4dd7..ad9f9b5 100644 --- a/contracts/Withdraw.sol +++ b/contracts/Withdraw.sol @@ -23,7 +23,7 @@ contract Withdraw is Transaction { returns (uint256[] memory) { uint256[] memory ops = new uint256[](4); - uint256 tokenIdx = bytesToUint(witness, cursor + 14, 2); + uint256 tokenIdx = bytesToUint(witness, cursor + 12, 4); uint256 transferAmount = bytesToUint(witness, cursor + 16, 32); uint256 l1recipent = bytesToUint(witness, cursor + 48, 32);