Commit 7bf4f2a9 authored by obscuren's avatar obscuren

tx is now part of the chain package

parent 501db83d
...@@ -112,7 +112,7 @@ func (i *Console) ParseInput(input string) bool { ...@@ -112,7 +112,7 @@ func (i *Console) ParseInput(input string) bool {
case "encode": case "encode":
fmt.Printf("%q\n", ethutil.Encode(tokens[1])) fmt.Printf("%q\n", ethutil.Encode(tokens[1]))
case "tx": case "tx":
tx := ethutil.NewTransaction(tokens[1], ethutil.Big(tokens[2]), []string{""}) tx := ethchain.NewTransaction(tokens[1], ethutil.Big(tokens[2]), []string{""})
i.ethereum.TxPool.QueueTransaction(tx) i.ethereum.TxPool.QueueTransaction(tx)
case "exit", "quit", "q": case "exit", "quit", "q":
......
...@@ -44,7 +44,7 @@ func main() { ...@@ -44,7 +44,7 @@ func main() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())
Init() Init()
ethutil.InitFees() ethchain.InitFees()
ethutil.ReadConfig() ethutil.ReadConfig()
// Instantiated a eth stack // Instantiated a eth stack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment