`forge fmt` run.

This commit is contained in:
Sebastián Claudio Nale 2023-02-13 17:38:52 -03:00 committed by scnale
parent a41490cc38
commit eced885877
2 changed files with 2 additions and 14 deletions

View File

@ -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)
)
);
}

View File

@ -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)))
)
);