forked from cerc-io/plugeth
changed big.Int instantiation
This commit is contained in:
parent
6605d00d92
commit
1559bd9e1b
@ -128,8 +128,8 @@ func cTopics(t [][]string) [][]common.Hash {
|
|||||||
return topics
|
return topics
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *XEth) DefaultGas() *big.Int { return big.NewInt(defaultGas.Int64()) }
|
func (self *XEth) DefaultGas() *big.Int { return new(big.Int).Set(defaultGas) }
|
||||||
func (self *XEth) DefaultGasPrice() *big.Int { return big.NewInt(defaultGasPrice.Int64()) }
|
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 }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user