forked from cerc-io/plugeth
tx is now part of the chain package
This commit is contained in:
parent
501db83dfd
commit
7bf4f2a908
@ -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…
Reference in New Issue
Block a user