mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add emit keyword to compilation tests.
This commit is contained in:
@@ -61,7 +61,7 @@ contract SignedMessageOracle is Oracle {
|
||||
&& signer == ecrecover(keccak256(descriptionHash, newSigner, _nonce), v, r, s));
|
||||
nonce = _nonce;
|
||||
signer = newSigner;
|
||||
SignerReplacement(newSigner);
|
||||
emit SignerReplacement(newSigner);
|
||||
}
|
||||
|
||||
/// @dev Sets outcome based on signed message
|
||||
@@ -77,7 +77,7 @@ contract SignedMessageOracle is Oracle {
|
||||
&& signer == ecrecover(keccak256(descriptionHash, _outcome), v, r, s));
|
||||
isSet = true;
|
||||
outcome = _outcome;
|
||||
OutcomeAssignment(_outcome);
|
||||
emit OutcomeAssignment(_outcome);
|
||||
}
|
||||
|
||||
/// @dev Returns if winning outcome
|
||||
|
||||
Reference in New Issue
Block a user