From 8ab876171c54633f447771d4edc55015f31487c6 Mon Sep 17 00:00:00 2001 From: Captain Date: Thu, 2 Dec 2021 12:53:31 +0000 Subject: [PATCH] DERO-HE STARGATE Testnet Release34 --- config/version.go | 2 +- vendor/github.com/lesismal/nbio/poller_epoll.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/version.go b/config/version.go index 87a0cde..56a6921 100644 --- a/config/version.go +++ b/config/version.go @@ -20,4 +20,4 @@ import "github.com/blang/semver/v4" // right now it has to be manually changed // do we need to include git commitsha?? -var Version = semver.MustParse("3.4.94-1.DEROHE.STARGATE+25112021") +var Version = semver.MustParse("3.4.95-1.DEROHE.STARGATE+25112021") diff --git a/vendor/github.com/lesismal/nbio/poller_epoll.go b/vendor/github.com/lesismal/nbio/poller_epoll.go index 8995664..9c92e46 100644 --- a/vendor/github.com/lesismal/nbio/poller_epoll.go +++ b/vendor/github.com/lesismal/nbio/poller_epoll.go @@ -224,8 +224,8 @@ func (p *poller) stop() { } func (p *poller) addRead(fd int) error { - switch p.g.epollMod { - case EPOLLET: + switch int64(p.g.epollMod) { + case int64(EPOLLET): return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadET}) default: return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsRead}) @@ -237,8 +237,8 @@ func (p *poller) addRead(fd int) error { // } func (p *poller) modWrite(fd int) error { - switch p.g.epollMod { - case EPOLLET: + switch int64(p.g.epollMod) { + case int64(EPOLLET): return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWriteET}) default: return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_MOD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWrite})