Skip to content

Commit

Permalink
Remove constant unix cgo (#125)
Browse files Browse the repository at this point in the history
* Revert "Add ExtrinsicSignatureV5 (#68)"

This reverts commit 461cf42.

* rm const unix cgo
  • Loading branch information
mikiquantum authored Dec 30, 2020
1 parent 5a445a2 commit f42aa12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
13 changes: 0 additions & 13 deletions gethrpc/constants_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris

package rpc

/*
#include <sys/un.h>
int max_socket_path_size() {
struct sockaddr_un s;
return sizeof(s.sun_path);
}
*/
// import "C"

var (
// max_path_size = C.max_socket_path_size()
max_path_size = 108
)
25 changes: 0 additions & 25 deletions gethrpc/constants_unix_nocgo.go

This file was deleted.

0 comments on commit f42aa12

Please sign in to comment.