changed big.Int instantiation

pull/616/head
Bas van Kervel 10 years ago
parent 6605d00d92
commit 1559bd9e1b
  1. 4
      xeth/xeth.go

@ -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…
Cancel
Save