Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
josojo committed Jan 3, 2024
1 parent 1131db4 commit d4bca56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/ForkableBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ contract ForkableBridge is
if (to != children[0] && to != children[1]) {
revert InvalidDestinationForHardAsset();
}
if(token==gasTokenAddress){
if (token == gasTokenAddress) {
revert GasTokenIsNotHardAsset();
}
IERC20(token).transfer(to, amount);
Expand Down
4 changes: 1 addition & 3 deletions test/ForkableBridge.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,7 @@ contract ForkableBridgeTest is Test {
to
);

vm.expectRevert(
IForkableBridge.GasTokenIsNotHardAsset.selector
);
vm.expectRevert(IForkableBridge.GasTokenIsNotHardAsset.selector);
vm.prank(hardAssetManger);
forkableBridge.transferHardAssetsToChild(
address(gasTokenAddress),
Expand Down

0 comments on commit d4bca56

Please sign in to comment.