Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit ef9c0c2

Browse files
committed
Run formatting tool
1 parent 3c7ade7 commit ef9c0c2

File tree

8 files changed

+11
-17
lines changed

8 files changed

+11
-17
lines changed

build/mocks/walletMock/WalletMock.bin

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/mocks/walletMock/combined.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/walletDeployer/WalletDeployer.bin

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/walletDeployer/combined.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/mocks/walletMock.sol

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@ pragma solidity 0.5.17;
22

33

44
contract WalletMock {
5-
6-
75
/// @dev Ether can be deposited from any source, so this contract must be payable by anyone.
8-
function() external payable {
9-
}
6+
function() external payable {}
107

11-
12-
138
function transfer(address payable _to, uint256 _amount) external {
14-
_to.transfer(_amount);
9+
_to.transfer(_amount);
1510
}
1611

1712
function sendValue(address payable _to, uint256 _amount) external {
1813
(bool success, ) = _to.call.value(_amount)("");
19-
require(success, "sendValue failed");
14+
require(success, "sendValue failed");
2015
}
21-
2216
}

contracts/walletDeployer.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ contract WalletDeployer is ENSResolvable, Controllable {
100100
Wallet(wallet).setWhitelist(_whitelistedAddresses);
101101
}
102102

103-
// Change admin before transfering owenrship.
103+
// Change admin before transferring owenrship.
104104
BaseAdminUpgradeabilityProxy(wallet).changeAdmin(_owner);
105-
// Change ownership and set tarnsferable to false so ownership cannot be transferred again.
105+
// Change ownership and set transferable to false so ownership cannot be transferred again.
106106
Wallet(wallet).transferOwnership(_owner, false);
107107

108108
if (msg.value > 0) {

0 commit comments

Comments
 (0)