diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-11 22:04:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-11 22:04:09 +0800 |
commit | 9010857677ac374e09bab62a89f2fb52c11ed6d3 (patch) | |
tree | 41c047472589f281fe83b333b24d96988dbc46f8 /ethereum.go | |
parent | ff151f9fbcfea2d21139ec778fc7c1ac32282d71 (diff) | |
download | dexon-9010857677ac374e09bab62a89f2fb52c11ed6d3.tar.gz dexon-9010857677ac374e09bab62a89f2fb52c11ed6d3.tar.zst dexon-9010857677ac374e09bab62a89f2fb52c11ed6d3.zip |
Special diff output for execution
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go index 35d98e831..2806dfd9d 100644 --- a/ethereum.go +++ b/ethereum.go @@ -20,6 +20,8 @@ import ( "time" ) +const seedTextFileUri string = "http://www.ethereum.org/servers.poc3.txt" + var ethlogger = ethlog.NewLogger("SERV") func eachPeer(peers *list.List, callback func(*Peer, *list.Element)) { @@ -416,7 +418,7 @@ func (s *Ethereum) Seed() { s.ProcessPeerList(peers) } else { // Fallback to servers.poc3.txt - resp, err := http.Get("http://www.ethereum.org/servers.poc3.txt") + resp, err := http.Get(seedTextFileUri) if err != nil { ethlogger.Warnln("Fetching seed failed:", err) return |