diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-08-12 04:50:27 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-08-24 23:43:55 +0800 |
commit | ac799aff0e237fe0e6c4246e36c39cc1fe3c116d (patch) | |
tree | 9afff90be7838e90845fbce488e7b6e8ddd52c11 /docs | |
parent | e20afc71ce6ac16edc2fdbd301d7698da8d34c04 (diff) | |
download | dexon-solidity-ac799aff0e237fe0e6c4246e36c39cc1fe3c116d.tar dexon-solidity-ac799aff0e237fe0e6c4246e36c39cc1fe3c116d.tar.gz dexon-solidity-ac799aff0e237fe0e6c4246e36c39cc1fe3c116d.tar.bz2 dexon-solidity-ac799aff0e237fe0e6c4246e36c39cc1fe3c116d.tar.lz dexon-solidity-ac799aff0e237fe0e6c4246e36c39cc1fe3c116d.tar.xz dexon-solidity-ac799aff0e237fe0e6c4246e36c39cc1fe3c116d.tar.zst dexon-solidity-ac799aff0e237fe0e6c4246e36c39cc1fe3c116d.zip |
Remove trailing whitespaces
Diffstat (limited to 'docs')
-rw-r--r-- | docs/contracts.rst | 2 | ||||
-rw-r--r-- | docs/installing-solidity.rst | 4 | ||||
-rw-r--r-- | docs/security-considerations.rst | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index c369bfd9..b4a4b2cc 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -25,7 +25,7 @@ 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) {} }"; - + // The json abi array generated by the compiler var abiArray = [ { diff --git a/docs/installing-solidity.rst b/docs/installing-solidity.rst index 16a02310..ba40c99f 100644 --- a/docs/installing-solidity.rst +++ b/docs/installing-solidity.rst @@ -73,7 +73,7 @@ to compile Solidity on Ubuntu 14.04 (Trusty Tahr). sudo apt-get -y install build-essential git cmake libgmp-dev libboost-all-dev \ libjsoncpp-dev - + sudo add-apt-repository -y ppa:ethereum/ethereum sudo add-apt-repository -y ppa:ethereum/ethereum-dev sudo apt-get -y update @@ -94,7 +94,7 @@ installed either by adding the Ethereum PPA (Option 1) or by backporting sudo apt-get -y install build-essential git cmake libgmp-dev libboost-all-dev \ libjsoncpp-dev - + # (Option 1) For those willing to add the Ethereum PPA: sudo add-apt-repository -y ppa:ethereum/ethereum sudo add-apt-repository -y ppa:ethereum/ethereum-dev diff --git a/docs/security-considerations.rst b/docs/security-considerations.rst index eff3c5e8..f8d099e4 100644 --- a/docs/security-considerations.rst +++ b/docs/security-considerations.rst @@ -147,7 +147,7 @@ Never use tx.origin for authorization. Let's say you have a wallet contract like :: - contract TxUserWallet { + contract TxUserWallet { address owner; function TxUserWallet() { @@ -164,7 +164,7 @@ Now someone tricks you into sending ether to the address of this attack wallet: :: - contract TxAttackWallet { + contract TxAttackWallet { address owner; function TxAttackWallet() { |