Skip to content

Commit

Permalink
fix(client): remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Jul 19, 2024
1 parent 5a69390 commit c4571d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/ClientGatewayLzReceiver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ abstract contract ClientGatewayLzReceiver is PausableUpgradeable, OAppReceiverUp
success = _decodeBasicResponse(response);
} else {
// otherwise expect BalanceResponse, which means deposit-then-delegate operation
(address token, address staker, string memory operator, uint256 amount) =
abi.decode(cachedRequest, (address, address, string, uint256));
(address token, address staker,,) = abi.decode(cachedRequest, (address, address, string, uint256));
(success, updatedBalance) = _decodeBalanceResponse(response);

IVault vault = _getVault(token);
Expand Down

0 comments on commit c4571d3

Please sign in to comment.