diff --git a/bin/eth.sh b/bin/eth.sh index 3f4ce9e..db81378 100755 --- a/bin/eth.sh +++ b/bin/eth.sh @@ -3,7 +3,7 @@ IP=$(ec2metadata --public-ipv4) trap "exit" INT if [[ -f /usr/bin/geth ]]; then - geth -rpc -rpcport "8080" -maxpeers "50" -loglevel "4" -bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" -nat "extip:$IP" + geth -rpc -rpcport "8080" -maxpeers "50" -loglevel "3" -bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" -nat "extip:$IP" else eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc --public-ip $IP -v 4 fi \ No newline at end of file diff --git a/lib/node.js b/lib/node.js index bececbc..d869c99 100644 --- a/lib/node.js +++ b/lib/node.js @@ -137,7 +137,7 @@ Node.prototype.checkWeb3Connection = function() } catch(err) { - console.error('xx> Ethereum connection atempt #' + this.called++ + ' failed; ', err); + console.error('xx> Ethereum connection attempt #' + this.called++ + ' failed; ', err); process.nextTick( function() {