tx is now part of the chain package

poc8
obscuren 11 years ago
parent 501db83dfd
commit 7bf4f2a908
  1. 2
      dev_console.go
  2. 2
      ethereum.go

@ -112,7 +112,7 @@ func (i *Console) ParseInput(input string) bool {
case "encode":
fmt.Printf("%q\n", ethutil.Encode(tokens[1]))
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)
case "exit", "quit", "q":

@ -44,7 +44,7 @@ func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
Init()
ethutil.InitFees()
ethchain.InitFees()
ethutil.ReadConfig()
// Instantiated a eth stack

Loading…
Cancel
Save