From 41ecd256ed2403ce906d2ed6edf590a346626c69 Mon Sep 17 00:00:00 2001 From: Manas Nagaraj <48147533+ManasNagaraj@users.noreply.github.com> Date: Thu, 4 May 2023 13:59:43 +0530 Subject: [PATCH] website: rectifed RPC connection docs (#27215) * website: rectified RPC connect docs * Update docs/developers/dapp-developer/native-bindings.md --------- Co-authored-by: Martin Holst Swende --- docs/developers/dapp-developer/native-bindings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/dapp-developer/native-bindings.md b/docs/developers/dapp-developer/native-bindings.md index 75bad80984..071227a85c 100644 --- a/docs/developers/dapp-developer/native-bindings.md +++ b/docs/developers/dapp-developer/native-bindings.md @@ -220,7 +220,7 @@ const key = `<>` func main() { // Create an IPC based RPC connection to a remote node and an authorized transactor - conn, err := rpc.NewIPCClient("/home/go-ethereum/goerli/geth.ipc") + conn, err := ethclient.Dial("/home/go-ethereum/goerli/geth.ipc") if err != nil { log.Fatalf("Failed to connect to the Ethereum client: %v", err) }