Commit b42b70eb authored by zsfelfoldi's avatar zsfelfoldi

fixed rpc/api.GasPrice

parent 610adfd8
...@@ -139,7 +139,7 @@ func (self *ethApi) IsMining(req *shared.Request) (interface{}, error) { ...@@ -139,7 +139,7 @@ func (self *ethApi) IsMining(req *shared.Request) (interface{}, error) {
} }
func (self *ethApi) GasPrice(req *shared.Request) (interface{}, error) { func (self *ethApi) GasPrice(req *shared.Request) (interface{}, error) {
return newHexNum(xeth.DefaultGasPrice().Bytes()), nil return newHexNum(self.xeth.DefaultGasPrice().Bytes()), nil
} }
func (self *ethApi) GetStorage(req *shared.Request) (interface{}, error) { func (self *ethApi) GetStorage(req *shared.Request) (interface{}, error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment