From 9afb6320c33031011fc2a7713a832ae192f020ff Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 29 Mar 2025 12:51:10 +0200 Subject: [PATCH 1/2] Update gateway.go --- bridge/standard/pkg/gwcontract/gateway.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/standard/pkg/gwcontract/gateway.go b/bridge/standard/pkg/gwcontract/gateway.go index 0e20b9699..727bb2313 100644 --- a/bridge/standard/pkg/gwcontract/gateway.go +++ b/bridge/standard/pkg/gwcontract/gateway.go @@ -100,7 +100,7 @@ func (g *Gateway[EventType]) FinalizeTransfer( g.logger.Error( "failed to send transaction", "sender", opts.From, - "receipient", recipient, + "recipient", recipient, "amount", amount, "error", err, ) From e65d8d82a6efb99c044bc7bb7f04d2823b9532e6 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 29 Mar 2025 12:52:05 +0200 Subject: [PATCH 2/2] Update Gateway.sol --- contracts/contracts/standard-bridge/Gateway.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/contracts/standard-bridge/Gateway.sol b/contracts/contracts/standard-bridge/Gateway.sol index d3a820801..558ef9a1a 100644 --- a/contracts/contracts/standard-bridge/Gateway.sol +++ b/contracts/contracts/standard-bridge/Gateway.sol @@ -20,7 +20,7 @@ abstract contract Gateway is IGateway, GatewayStorage, /// @notice The _recipient is transferred eth on the destination chain via solidity's send function (with built-in gas limit). /// Therefore the _recipient MUST be an EOA on the other chain to gauruntee a successful transfer. /// @notice If _recipient is a contract, manual withdrawal may be required on the counterparty chain. - /// @notice The caller of this function takes responsiblity for whatever address is specified as the _recipient. + /// @notice The caller of this function takes responsibility for whatever address is specified as the _recipient. /// That is, if _recipient is a contract with an immutable receiver that reverts, the user would be at fault for loss of funds. /// @param _recipient The address to receive the tokens. /// @param _amount The amount of Ether to transfer in wei.