diff options
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r-- | xeth/xeth.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 7f0c04a12..3f2f14352 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -128,8 +128,8 @@ func cTopics(t [][]string) [][]common.Hash { return topics } -func (self *XEth) DefaultGas() *big.Int { return big.NewInt(defaultGas.Int64()) } -func (self *XEth) DefaultGasPrice() *big.Int { return big.NewInt(defaultGasPrice.Int64()) } +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 } |