Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Add console logs for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptofish7 committed Jul 5, 2021
1 parent 2baf4da commit 8150b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/trade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class Trade {
)
this.nextMidPrice = Price.fromRoute(new Route(nextPairs, route.input))
this.priceImpact = computePriceImpact(route.midPrice, this.inputAmount, this.outputAmount)
console.log('route', route, 'priceImpact', priceImpact)
console.log('route', route, 'priceImpact', this.priceImpact)
this.chainId = chainId
}

Expand Down

0 comments on commit 8150b72

Please sign in to comment.