aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-09 06:21:09 +0800
committerobscuren <geffobscura@gmail.com>2014-02-09 06:21:09 +0800
commit67572417c6522647d7d14c1042c427b5edd9973e (patch)
treed324e0823ae8de3562aaa97333fefb8ab7ac596d
parent542bc2fce4c6d65fd5346b64f2aa0a80f23d3480 (diff)
downloaddexon-67572417c6522647d7d14c1042c427b5edd9973e.tar
dexon-67572417c6522647d7d14c1042c427b5edd9973e.tar.gz
dexon-67572417c6522647d7d14c1042c427b5edd9973e.tar.bz2
dexon-67572417c6522647d7d14c1042c427b5edd9973e.tar.lz
dexon-67572417c6522647d7d14c1042c427b5edd9973e.tar.xz
dexon-67572417c6522647d7d14c1042c427b5edd9973e.tar.zst
dexon-67572417c6522647d7d14c1042c427b5edd9973e.zip
Use the generated key
-rw-r--r--ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go
index 902b9ae9c..8bbb797d3 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -109,7 +109,7 @@ func main() {
// Fake block mining. It broadcasts a new block every 5 seconds
go func() {
pow := &ethchain.EasyPow{}
- addr, _ := hex.DecodeString("82c3b0b72cf62f1a9ce97c64da8072efa28225d8")
+ addr, _ := ethutil.Config.Db.Get([]byte("KeyRing"))
for {
txs := ethereum.TxPool.Flush()