mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style(modular): fix mapping style
This commit is contained in:
parent
5b149adfcd
commit
9b0556caa4
@ -34,7 +34,7 @@ and the sum of all balances is an invariant across the lifetime of the contract.
|
||||
contract Token {
|
||||
mapping(address => uint256) balances;
|
||||
using Balances for *;
|
||||
mapping(address => mapping (address => uint256)) allowed;
|
||||
mapping(address => mapping(address => uint256)) allowed;
|
||||
|
||||
event Transfer(address from, address to, uint amount);
|
||||
event Approval(address owner, address spender, uint amount);
|
||||
|
Loading…
Reference in New Issue
Block a user