aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()