Skip to content

Commit

Permalink
finish var rename
Browse files Browse the repository at this point in the history
Signed-off-by: bennett <[email protected]>
  • Loading branch information
bmzig committed Nov 14, 2024
1 parent a2ab5dd commit 705a276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/chain-adapters/ForwarderBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ abstract contract ForwarderBase is UUPSUpgradeable, ForwarderInterface {
if (baseToken == address(WRAPPED_NATIVE_TOKEN)) {
// Only wrap the minimum required amount of the native token.
uint256 wrappedNativeTokenBalance = WRAPPED_NATIVE_TOKEN.balanceOf(address(this));
if (nativeTokenBalance < amount) _wrapNativeToken(amount - nativeTokenBalance);
if (wrappedNativeTokenBalance < amount) _wrapNativeToken(amount - wrappedNativeTokenBalance);
}

(bool success, ) = adapter.delegatecall(
Expand Down

0 comments on commit 705a276

Please sign in to comment.