Skip to content

Commit

Permalink
Removed unnecessary BigNumber conversions from MarketCreated log proc…
Browse files Browse the repository at this point in the history
…essor
  • Loading branch information
tinybike committed Oct 23, 2017
1 parent 580d05c commit 6d2d93d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blockchain/log-processors/market-created.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export function processMarketCreatedLog(db: Knex, augur: Augur, trx: Knex.Transa
creationFee: log.marketCreationFee,
creationTime: timestamp,
marketType: extraInfo!.marketType,
minPrice: new BigNumber(extraInfo!.minPrice, 10).toFixed(),
maxPrice: new BigNumber(extraInfo!.maxPrice, 10).toFixed(),
minPrice: extraInfo!.minPrice,
maxPrice: extraInfo!.maxPrice,
category: extraInfo!.category,
tag1: extraInfo!.tag1,
tag2: extraInfo!.tag2,
Expand Down

0 comments on commit 6d2d93d

Please sign in to comment.