Skip to content

Commit

Permalink
more wei conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Oct 30, 2020
1 parent 8407287 commit 17a07b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exchange/FixedRateExchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ export class OceanFixedRateExchange {
const result: FixedPriceSwap = {
exchangeID: data.returnValues[0],
caller: data.returnValues[1],
baseTokenAmount: data.returnValues[2],
dataTokenAmount: data.returnValues[3]
baseTokenAmount: this.web3.utils.fromWei(data.returnValues[2]),
dataTokenAmount: this.web3.utils.fromWei(data.returnValues[3])
}
return result
}
Expand Down

0 comments on commit 17a07b4

Please sign in to comment.