aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethereum/ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go
index babebbb48..055cc0bc4 100644
--- a/ethereum/ethereum.go
+++ b/ethereum/ethereum.go
@@ -138,7 +138,7 @@ func main() {
go func() {
data, _ := ethutil.Config.Db.Get([]byte("KeyRing"))
keyRing := ethutil.NewValueFromBytes(data)
- addr := keyRing.Get(1).Bytes()
+ addr := keyRing.Get(0).Bytes()
pair, _ := ethchain.NewKeyPairFromSec(ethutil.FromHex(hex.EncodeToString(addr)))