DERO-HE STARGATE Testnet Release34

This commit is contained in:
Captain 2021-12-02 12:53:31 +00:00
parent 9300ef9b14
commit 8ab876171c
No known key found for this signature in database
GPG Key ID: 18CDB3ED5E85D2D4
2 changed files with 5 additions and 5 deletions

View File

@ -20,4 +20,4 @@ import "github.com/blang/semver/v4"
// right now it has to be manually changed // right now it has to be manually changed
// do we need to include git commitsha?? // 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")

View File

@ -224,8 +224,8 @@ func (p *poller) stop() {
} }
func (p *poller) addRead(fd int) error { func (p *poller) addRead(fd int) error {
switch p.g.epollMod { switch int64(p.g.epollMod) {
case EPOLLET: case int64(EPOLLET):
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadET}) return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadET})
default: default:
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsRead}) 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 { func (p *poller) modWrite(fd int) error {
switch p.g.epollMod { switch int64(p.g.epollMod) {
case EPOLLET: case int64(EPOLLET):
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWriteET}) return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_ADD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWriteET})
default: default:
return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_MOD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWrite}) return syscall.EpollCtl(p.epfd, syscall.EPOLL_CTL_MOD, fd, &syscall.EpollEvent{Fd: int32(fd), Events: epollEventsReadWrite})