Change eth_pushTx case to eth_sendRawTransaction
This commit is contained in:
parent
d6233c7d2d
commit
f9f9352ceb
@ -170,7 +170,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
|
|||||||
}
|
}
|
||||||
*reply = v
|
*reply = v
|
||||||
|
|
||||||
case "eth_pushTx":
|
case "eth_sendRawTransaction":
|
||||||
args := new(NewSigArgs)
|
args := new(NewSigArgs)
|
||||||
if err := json.Unmarshal(req.Params, &args); err != nil {
|
if err := json.Unmarshal(req.Params, &args); err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user