good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1559bd9e authored by Bas van Kervel's avatar Bas van Kervel
Browse files

changed big.Int instantiation

parent 6605d00d
No related branches found
No related tags found
No related merge requests found
......@@ -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 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment