Change eth_pushTx case to eth_sendRawTransaction

This commit is contained in:
Nick Dodson 2015-06-15 10:50:07 -04:00
parent d6233c7d2d
commit f9f9352ceb

View File

@ -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