diff --git a/ethereum/contracts/example_integrations/xMint/Hub.sol b/ethereum/contracts/example_integrations/xMint/Hub.sol index d3b53b8..0138717 100644 --- a/ethereum/contracts/example_integrations/xMint/Hub.sol +++ b/ethereum/contracts/example_integrations/xMint/Hub.sol @@ -80,14 +80,7 @@ contract XmintHub is ERC20, IWormholeReceiver { //token, amount, receipientChain, recipientAddress, nonce, payload abi.encodeCall( ITokenBridge.transferTokensWithPayload, - ( - address(this), - amount, - remoteChain, - trustedContracts[remoteChain], - nonce, - payload - ) + (address(this), amount, remoteChain, trustedContracts[remoteChain], nonce, payload) ) ); } diff --git a/ethereum/contracts/example_integrations/xMint/Spoke.sol b/ethereum/contracts/example_integrations/xMint/Spoke.sol index c731b00..32a1823 100644 --- a/ethereum/contracts/example_integrations/xMint/Spoke.sol +++ b/ethereum/contracts/example_integrations/xMint/Spoke.sol @@ -57,12 +57,7 @@ contract XmintSpoke is IWormholeReceiver { (bool success, bytes memory data) = address(token_bridge).call{value: bridgeAmount + core_bridge.messageFee()}( abi.encodeCall( ITokenBridge.wrapAndTransferETHWithPayload, - ( - hub_contract_chain, - hub_contract_address, - nonce, - abi.encode(core_relayer.toWormholeFormat(msg.sender)) - ) + (hub_contract_chain, hub_contract_address, nonce, abi.encode(core_relayer.toWormholeFormat(msg.sender))) ) );