mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove trailing whitespaces
This commit is contained in:
parent
e20afc71ce
commit
ac799aff0e
@ -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 = [
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user