From c2a2dc72386e5dd631d2c8c44ad5d057d420f7c6 Mon Sep 17 00:00:00 2001 From: harjas Date: Wed, 27 Oct 2021 11:48:49 +0530 Subject: [PATCH] Rename object to fix duplicate symbol error --- eth/rpc/constants_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/rpc/constants_unix.go b/eth/rpc/constants_unix.go index 2f98d6499..860e37d65 100644 --- a/eth/rpc/constants_unix.go +++ b/eth/rpc/constants_unix.go @@ -21,7 +21,7 @@ package rpc /* #include -int max_socket_path_size() { +int maximum_socket_path_size() { struct sockaddr_un s; return sizeof(s.sun_path); } @@ -29,5 +29,5 @@ return sizeof(s.sun_path); import "C" var ( - max_path_size = C.max_socket_path_size() + max_path_size = C.maximum_socket_path_size() )