Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
2918ec2e
Unverified
Commit
2918ec2e
authored
Oct 06, 2020
by
Ralph Pichler
Committed by
GitHub
Oct 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix disconnect non-swap node log (#796)
parent
c9ff1221
Pipeline
#451
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
swap.go
pkg/settlement/swap/swap.go
+1
-1
No files found.
pkg/settlement/swap/swap.go
View file @
2918ec2e
...
...
@@ -112,7 +112,7 @@ func (s *Service) Pay(ctx context.Context, peer swarm.Address, amount uint64) er
return
err
}
if
!
known
{
s
.
logger
.
Warning
(
"disconnecting non-swap peer %v"
,
peer
)
s
.
logger
.
Warning
f
(
"disconnecting non-swap peer %v"
,
peer
)
err
=
s
.
p2pService
.
Disconnect
(
peer
)
if
err
!=
nil
{
return
err
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment