changed big.Int instantiation

This commit is contained in:
Bas van Kervel 2015-04-01 13:15:21 +02:00
parent 6605d00d92
commit 1559bd9e1b

View File

@ -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 }