diff --git a/rpc/api/eth.go b/rpc/api/eth.go index 2857202dd490563fe97158e14a0ee9b17a79257e..1e392a63d0ec6e3b4a271815756f68a649bec5d4 100644 --- a/rpc/api/eth.go +++ b/rpc/api/eth.go @@ -46,7 +46,7 @@ var ( "eth_getData": (*ethApi).GetData, "eth_getCode": (*ethApi).GetData, "eth_sign": (*ethApi).Sign, - "eth_pushTx": (*ethApi).PushTx, + "eth_sendRawTransaction": (*ethApi).PushTx, "eth_sendTransaction": (*ethApi).SendTransaction, "eth_transact": (*ethApi).SendTransaction, "eth_estimateGas": (*ethApi).EstimateGas,