From 000e9bcc775d0ac5d25ee94813c315491bc8a275 Mon Sep 17 00:00:00 2001 From: Edi Sinovcic Date: Thu, 27 Jun 2019 14:16:42 +0200 Subject: [PATCH] Typo in solidity code Event name must be the same as one defined. --- source/ethers.js/source/cookbook-contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ethers.js/source/cookbook-contracts.rst b/source/ethers.js/source/cookbook-contracts.rst index 290ccb0..b023019 100644 --- a/source/ethers.js/source/cookbook-contracts.rst +++ b/source/ethers.js/source/cookbook-contracts.rst @@ -24,7 +24,7 @@ Using events, we can simulate a return value from a non-constant function. function increment() returns (uint256 sum) { _accum++; - Returns(_accum); + Return(_accum); } }