Skip to content

Commit

Permalink
docs: fix typos (#1013)
Browse files Browse the repository at this point in the history
Co-authored-by: georgehao <[email protected]>
  • Loading branch information
momodaka and georgehao authored Dec 13, 2023
1 parent 8cb750e commit db07180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridge-history-api/crossmsg/messageproof/withdraw_trie.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/gas-swap/GasSwap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit db07180

Please sign in to comment.