Skip to content

Commit

Permalink
fix BridgeArbitrumL2Mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Jul 25, 2022
1 parent 3dbf036 commit 7c48379
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contracts/mocks/crosschain/bridges.sol
Expand Up @@ -70,14 +70,10 @@ contract BridgeArbitrumL1Outbox {
}

contract BridgeArbitrumL2Mock is BaseRelayMock {
function isTopLevelCall() public view returns (bool) {
function wasMyCallersAddressAliased() public view returns (bool) {
return _currentSender != address(0);
}

function wasMyCallersAddressAliased() public pure returns (bool) {
return true;
}

function myCallersAddressWithoutAliasing() public view returns (address) {
return _currentSender;
}
Expand Down

0 comments on commit 7c48379

Please sign in to comment.