mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style guide: Use emit keyword when emitting events
This commit is contained in:
parent
3141b343a9
commit
aad10bda97
@ -233,7 +233,7 @@ Yes:
|
|||||||
bytes32[] options
|
bytes32[] options
|
||||||
);
|
);
|
||||||
|
|
||||||
LongAndLotsOfArgs(
|
emit LongAndLotsOfArgs(
|
||||||
sender,
|
sender,
|
||||||
recipient,
|
recipient,
|
||||||
publicKey,
|
publicKey,
|
||||||
@ -251,7 +251,7 @@ No:
|
|||||||
uint256 amount,
|
uint256 amount,
|
||||||
bytes32[] options);
|
bytes32[] options);
|
||||||
|
|
||||||
LongAndLotsOfArgs(sender,
|
emit LongAndLotsOfArgs(sender,
|
||||||
recipient,
|
recipient,
|
||||||
publicKey,
|
publicKey,
|
||||||
amount,
|
amount,
|
||||||
|
Loading…
Reference in New Issue
Block a user