From 67572417c6522647d7d14c1042c427b5edd9973e Mon Sep 17 00:00:00 2001
From: obscuren <geffobscura@gmail.com>
Date: Sat, 8 Feb 2014 23:21:09 +0100
Subject: [PATCH] Use the generated key

---
 ethereum.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()
-- 
GitLab