diff --git a/bridge-history-api/crossmsg/messageproof/withdraw_trie.go b/bridge-history-api/crossmsg/messageproof/withdraw_trie.go index 4dbd300ebb..a5e37ab4aa 100644 --- a/bridge-history-api/crossmsg/messageproof/withdraw_trie.go +++ b/bridge-history-api/crossmsg/messageproof/withdraw_trie.go @@ -6,7 +6,7 @@ import ( "bridge-history-api/utils" ) -// MaxHeight is the maixium possible height of withdraw trie +// MaxHeight is the maximum possible height of withdraw trie const MaxHeight = 40 // WithdrawTrie is an append only merkle trie diff --git a/contracts/src/gas-swap/GasSwap.sol b/contracts/src/gas-swap/GasSwap.sol index e962e2fa80..7b3800f417 100644 --- a/contracts/src/gas-swap/GasSwap.sol +++ b/contracts/src/gas-swap/GasSwap.sol @@ -124,7 +124,7 @@ contract GasSwap is ERC2771Context, Ownable, ReentrancyGuard { _outputTokenAmount = _outputTokenAmount - _fee; require(_outputTokenAmount >= _swap.minOutput, "insufficient output amount"); - // tranfer ETH to sender + // transfer ETH to sender (_success, ) = _sender.call{value: _outputTokenAmount}(""); require(_success, "transfer ETH failed");