From fb58809c206c174603dfef381f2cd4496d5b9cfe Mon Sep 17 00:00:00 2001 From: Morgan Date: Mon, 17 Apr 2017 21:41:28 -0400 Subject: Update contracts.rst --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 = [ -- cgit