Moved to function
This commit is contained in:
parent
79828531b1
commit
55b1c1546b
|
@ -29,6 +29,9 @@ var (
|
|||
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 {
|
||||
backend *eth.Ethereum
|
||||
frontend Frontend
|
||||
|
@ -130,9 +133,6 @@ func cTopics(t [][]string) [][]common.Hash {
|
|||
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) AtStateNum(num int64) *XEth {
|
||||
|
|
Loading…
Reference in New Issue