aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-26 23:37:56 +0800
committerzelig <viktor.tron@gmail.com>2014-06-26 23:37:56 +0800
commitda38faa8f7c0f2a6620b54e46fc38a201845e104 (patch)
tree2656f980c91f9f93d98215867f75c9253e330019 /ethereum.go
parent098136b68198083a47408ec5c04cd0c8f9fdcc87 (diff)
parent0ed19d9f2024744ba93d0e34db6939766b3cfed5 (diff)
downloaddexon-da38faa8f7c0f2a6620b54e46fc38a201845e104.tar
dexon-da38faa8f7c0f2a6620b54e46fc38a201845e104.tar.gz
dexon-da38faa8f7c0f2a6620b54e46fc38a201845e104.tar.bz2
dexon-da38faa8f7c0f2a6620b54e46fc38a201845e104.tar.lz
dexon-da38faa8f7c0f2a6620b54e46fc38a201845e104.tar.xz
dexon-da38faa8f7c0f2a6620b54e46fc38a201845e104.tar.zst
dexon-da38faa8f7c0f2a6620b54e46fc38a201845e104.zip
merge upstream; fix port in use warning; new logger API
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go
index 28d1c0437..8caa75cbd 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -342,7 +342,7 @@ func (s *Ethereum) Start(seed bool) {
// Bind to addr and port
ln, err := net.Listen("tcp", ":"+s.Port)
if err != nil {
- ethlogger.Warnln("Connection listening disabled. Acting as client")
+ ethlogger.Warnf("Port %s in use. Connection listening disabled. Acting as client", s.Port)
s.listening = false
} else {
s.listening = true