aboutsummaryrefslogtreecommitdiffstats
path: root/dev_console.go
diff options
context:
space:
mode:
Diffstat (limited to 'dev_console.go')
-rw-r--r--dev_console.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev_console.go b/dev_console.go
index 8ef7341b2..d2f3befb2 100644
--- a/dev_console.go
+++ b/dev_console.go
@@ -149,7 +149,8 @@ func (i *Console) ParseInput(input string) bool {
fmt.Println("recipient err:", err)
} else {
tx := ethchain.NewTransaction(recipient, ethutil.Big(tokens[2]), []string{""})
- tx.Sign([]byte("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
+ privKey, _ := ethutil.Config.Db.Get([]byte("KeyRing"))
+ tx.Sign(privKey)
fmt.Printf("%x\n", tx.Hash())
i.ethereum.TxPool.QueueTransaction(tx)
}