aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorMorgan <morgansliman@gmail.com>2017-04-18 09:41:28 +0800
committerGitHub <noreply@github.com>2017-04-18 09:41:28 +0800
commitfb58809c206c174603dfef381f2cd4496d5b9cfe (patch)
tree03570b8bcb72434a059dc33129e4e9b7567c1877 /docs/contracts.rst
parent138c952a1ad9a508c3e577d26ab8c514ef911a81 (diff)
downloaddexon-solidity-fb58809c206c174603dfef381f2cd4496d5b9cfe.tar.gz
dexon-solidity-fb58809c206c174603dfef381f2cd4496d5b9cfe.tar.zst
dexon-solidity-fb58809c206c174603dfef381f2cd4496d5b9cfe.zip
Update contracts.rst
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 9e35be84..26c0c886 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -27,7 +27,7 @@ From ``web3.js``, i.e. the JavaScript
API, this is done as follows::
// Need to specify some source including contract name for the data param below
- var source = "contract CONTRACT_NAME { function CONTRACT_NAME(unit a, uint b) {} }";
+ var source = "contract CONTRACT_NAME { function CONTRACT_NAME(uint a, uint b) {} }";
// The json abi array generated by the compiler
var abiArray = [