Skip to content

Commit

Permalink
fix incorrect error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Jun 10, 2024
1 parent c2b8b7e commit 3183f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/protocol/circuitv2/client/reservation.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func Reserve(ctx context.Context, h host.Host, ai peer.AddrInfo) (*Reservation,
if h.ID() != voucher.Peer {
return nil, ReservationError{
Status: pbv2.Status_MALFORMED_MESSAGE,
Reason: fmt.Sprintf("invalid voucher peer id: expected %s, got %s", signerPeerID, voucher.Peer),
Reason: fmt.Sprintf("invalid voucher peer id: expected %s, got %s", h.ID(), voucher.Peer),
}

}
Expand Down

0 comments on commit 3183f6b

Please sign in to comment.