Skip to content

Commit

Permalink
Update vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jan 13, 2020
1 parent 9b72a67 commit 46ebc98
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 3 deletions.
3 changes: 3 additions & 0 deletions pkg/snet/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"net"
"strings"
"sync"
"time"

"github.com/SkycoinProject/skywire-mainnet/pkg/snet/stcp"

Expand Down Expand Up @@ -88,7 +89,9 @@ func NewRaw(conf Config, dmsgC *dmsg.Client, stcpC *stcp.Client) *Network {
// Init initiates server connections.
func (n *Network) Init(ctx context.Context) error {
if n.dmsgC != nil {
time.Sleep(200 * time.Millisecond)
go n.dmsgC.Serve()
time.Sleep(200 * time.Millisecond)
}

if n.stcpC != nil {
Expand Down
24 changes: 21 additions & 3 deletions vendor/github.com/SkycoinProject/dmsg/server_session.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions vendor/github.com/SkycoinProject/dmsg/session_common.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/github.com/SkycoinProject/dmsg/stream.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 51 additions & 0 deletions vendor/github.com/SkycoinProject/dmsg/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46ebc98

Please sign in to comment.