Skip to content

Commit f42aa12

Browse files
authored
Remove constant unix cgo (#125)
* Revert "Add ExtrinsicSignatureV5 (#68)" This reverts commit 461cf42. * rm const unix cgo
1 parent 5a445a2 commit f42aa12

2 files changed

Lines changed: 0 additions & 38 deletions

File tree

gethrpc/constants_unix.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,8 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17-
// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
18-
1917
package rpc
2018

21-
/*
22-
#include <sys/un.h>
23-
24-
int max_socket_path_size() {
25-
struct sockaddr_un s;
26-
return sizeof(s.sun_path);
27-
}
28-
*/
29-
// import "C"
30-
3119
var (
32-
// max_path_size = C.max_socket_path_size()
3320
max_path_size = 108
3421
)

gethrpc/constants_unix_nocgo.go

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)