diff --git a/loopd/swapclient_server.go b/loopd/swapclient_server.go index 564d84a..c52fd7d 100644 --- a/loopd/swapclient_server.go +++ b/loopd/swapclient_server.go @@ -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)