PlatONnetwork/PlatON-Go

ethclient can't SubscribeNewHead

Closed this issue · 2 comments

error : hex string has length 162, want 16 for BlockNonce

Which RPC endpoint are you connecting to?
If it's your own node, add the http.ethcompatible flag and restart it,
otherwise use wss://openapi2.platon.network/ws for mainnet and wss://devnet2openapi.platon.network/ws for testnet

Closed due to prolonged non-response