Commit 55b1c154 authored by obscuren's avatar obscuren

Moved to function

parent 79828531
...@@ -29,6 +29,9 @@ var ( ...@@ -29,6 +29,9 @@ var (
defaultGas = big.NewInt(90000) //500000 defaultGas = big.NewInt(90000) //500000
) )
func DefaultGas() *big.Int { return new(big.Int).Set(defaultGas) }
func DefaultGasPrice() *big.Int { return new(big.Int).Set(defaultGasPrice) }
type XEth struct { type XEth struct {
backend *eth.Ethereum backend *eth.Ethereum
frontend Frontend frontend Frontend
...@@ -130,9 +133,6 @@ func cTopics(t [][]string) [][]common.Hash { ...@@ -130,9 +133,6 @@ func cTopics(t [][]string) [][]common.Hash {
return topics return topics
} }
func (self *XEth) DefaultGas() *big.Int { return new(big.Int).Set(defaultGas) }
func (self *XEth) DefaultGasPrice() *big.Int { return new(big.Int).Set(defaultGasPrice) }
func (self *XEth) RemoteMining() *miner.RemoteAgent { return self.agent } func (self *XEth) RemoteMining() *miner.RemoteAgent { return self.agent }
func (self *XEth) AtStateNum(num int64) *XEth { func (self *XEth) AtStateNum(num int64) *XEth {
......
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