forked from cerc-io/plugeth
fixed rpc/api.GasPrice
This commit is contained in:
parent
610adfd83f
commit
b42b70eb5f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user