[ethereumproject/go-ethereum] The method eth_subscribe_newHeads does not exist/is not available (#644)

Hello, I am scratching my head here, I am trying to integrate ETC with our exchange but I can’t subscribe to newHeads or newPendingTransactions events. newHeads give me this error and newPendingTransactions mean while no error but no event is being triggered either.

I am using web3.js from https://github.com/ethereum/web3.js and my ETC geth start cmd is
geth –rpcapi “all” –ws –wsaddr “0.0.0.0” –wsport “8546” –wsorigins “*” –chain=morden –fast –port “30304”

This post was last modified on July 7, 2018, 12:06 am