From d241af79886881f1f3e4866528e528705434dfed Mon Sep 17 00:00:00 2001 From: echo Date: Tue, 2 Mar 2021 14:45:09 +0800 Subject: [PATCH] Update WCKTON.sol fmt --- src/wrapper/WCKTON.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrapper/WCKTON.sol b/src/wrapper/WCKTON.sol index 94d8996..a3a8cb5 100644 --- a/src/wrapper/WCKTON.sol +++ b/src/wrapper/WCKTON.sol @@ -38,7 +38,7 @@ contract WCKTON is ERC223 { require(msg.sender == KTON_PRECOMPILE, "WKTON: PERMISSION"); totalSupply += value; balanceOf[from] += value; - emit Transfer(address(0), from, value); + emit Transfer(address(0), from, value); emit Deposit(from, value); } function withdraw(bytes32 to, uint wad) public { @@ -47,7 +47,7 @@ contract WCKTON is ERC223 { balanceOf[msg.sender] -= wad; bool success = KTON_PRECOMPILE.call(bytes4(keccak256("withdraw(bytes32,uint256)")), to, wad); require(success, "WKTON: WITHDRAW_FAILED"); - emit Transfer(msg.sender, address(0), wad); + emit Transfer(msg.sender, address(0), wad); emit Withdrawal(to, wad); }