Skip to content

Commit

Permalink
Merge pull request #223 from Uniswap/fix_quote_id_logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rileydcampbell authored Oct 31, 2023
2 parents a209202 + 48ea827 commit a2177a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/entities/QuoteResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export class QuoteResponse implements QuoteResponseData {
response: new QuoteResponse(
{
...data,
quoteId: data.quoteId ?? uuidv4(),
swapper: request.swapper,
amountIn: BigNumber.from(data.amountIn ?? 0),
amountOut: BigNumber.from(data.amountOut ?? 0),
Expand Down

0 comments on commit a2177a7

Please sign in to comment.