From b55d9aacffa2cff91b4b563ffa26b5df65327adc Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 27 Jun 2018 10:38:59 +0200 Subject: Add emit keyword to documentation. --- docs/abi-spec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst index 2fb207c7..21e67201 100644 --- a/docs/abi-spec.rst +++ b/docs/abi-spec.rst @@ -443,7 +443,7 @@ For example, function Test() public { b = 0x12345678901234567890123456789012; } event Event(uint indexed a, bytes32 b); event Event2(uint indexed a, bytes32 b); - function foo(uint a) public { Event(a, b); } + function foo(uint a) public { emit Event(a, b); } bytes32 b; } -- cgit