Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Repair duplicate key issue on backfill, resolves #1596 (#1600)
Browse files Browse the repository at this point in the history
  • Loading branch information
loudbinary authored and DeviaVir committed May 24, 2018
1 parent 728fcfa commit 5821eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/exchanges/hitbtc/exchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ module.exports = function container (conf) {
.then(result => {
var trades = result.map(function (trade) {
return {
trade_id: trade.timestamp,
trade_id: trade.id,
time: trade.timestamp,
size: parseFloat(trade.amount),
price: parseFloat(trade.price),
Expand Down

0 comments on commit 5821eac

Please sign in to comment.