Merge pull request #504 from sputn1ck/fix_suggest_swaps_rpc

looprpc: fix suggestswaps response
pull/505/head
Konstantin Nick 2 years ago committed by GitHub
commit 3931c27043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -885,9 +885,12 @@ func (s *swapClientServer) SuggestSwaps(ctx context.Context,
return nil, err
}
clonedPubkey := route.Vertex{}
copy(clonedPubkey[:], pubkey[:])
exclChan := &clientrpc.Disqualified{
Reason: autoloopReason,
Pubkey: pubkey[:],
Pubkey: clonedPubkey[:],
}
resp.Disqualified = append(resp.Disqualified, exclChan)

@ -22,5 +22,5 @@ This file tracks release notes for the loop client.
#### Breaking Changes
#### Bug Fixes
* The `SuggestSwaps` rpc now returns the correct peer pubkeys in the disqualified list.
#### Maintenance

@ -27,7 +27,7 @@ const (
// Note: please update release_notes.md when you change these values.
appMajor uint = 0
appMinor uint = 19
appPatch uint = 0
appPatch uint = 1
// appPreRelease MUST only contain characters from semanticAlphabet per
// the semantic versioning spec.

Loading…
Cancel
Save