Make param order consistent with transferRemote

transfer-and-call
Yorke Rhodes 4 months ago
parent f41a295751
commit 0643b4b2ee
No known key found for this signature in database
GPG Key ID: 9EEACF1DA75C5627
  1. 4
      solidity/contracts/middleware/TransferAndCallRouter.sol

@ -16,10 +16,10 @@ contract TransferAndCall {
}
function transferAndCall(
IERC20 asset, // not derivable from TokenRouter
TokenRouter warpRoute,
uint32 destination,
uint256 amount,
IERC20 asset, // not derivable from TokenRouter
TokenRouter warpRoute,
CallLib.Call[] calldata calls
) public {
asset.transferFrom(msg.sender, address(this), amount);

Loading…
Cancel
Save