From 9f479966422f00dc7f4e282a89f49bcda465184e Mon Sep 17 00:00:00 2001 From: momodaka <463435681@qq.com> Date: Tue, 14 Nov 2023 12:53:45 +0800 Subject: [PATCH 1/2] fix: fix typo --- contracts/src/gas-swap/GasSwap.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); From 399251cfa6998cf51e17b304aa8628e35c5f0400 Mon Sep 17 00:00:00 2001 From: momodaka <463435681@qq.com> Date: Tue, 14 Nov 2023 12:54:49 +0800 Subject: [PATCH 2/2] fix: fix typo --- bridge-history-api/crossmsg/messageproof/withdraw_trie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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