Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnewnami committed Nov 22, 2023
1 parent e14bced commit 8ff8544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/child/ChildERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ contract ChildERC20Bridge is BridgeRoles, IChildERC20BridgeErrors, IChildERC20Br

// Withdraw
wIMX.withdraw(amount);

// Assert balance
if (address(this).balance != expectedBalance) {
revert BalanceInvariantCheckFailed(address(this).balance, expectedBalance);
Expand All @@ -363,7 +363,7 @@ contract ChildERC20Bridge is BridgeRoles, IChildERC20BridgeErrors, IChildERC20Br
}

rootToken = IChildERC20(childToken).rootToken();

// Assert mapping
if (rootTokenToChildToken[rootToken] != address(childToken)) {
revert NotMapped();
Expand Down

0 comments on commit 8ff8544

Please sign in to comment.