diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go index babebbb482..055cc0bc42 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)))