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

Commit

Permalink
feat(contract): convert wei amount to eth
Browse files Browse the repository at this point in the history
  • Loading branch information
n1c01a5 committed Nov 13, 2018
1 parent 987f63a commit b9f931c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class MultipleArbitrableTransaction extends Arbitrable {
try {
return this.contractInstance.pay(
arbitrableTransactionId,
this._Web3Wrapper.fromWei(amount, 'ether'),
this._Web3Wrapper.toWei(amount, 'ether'),
{
from: account,
value: 0
Expand Down Expand Up @@ -122,7 +122,7 @@ class MultipleArbitrableTransaction extends Arbitrable {
try {
return this.contractInstance.reimburse(
arbitrableTransactionId,
this._Web3Wrapper.fromWei(amount, 'ether'),
this._Web3Wrapper.toWei(amount, 'ether'),
{
from: account,
value: 0
Expand Down

0 comments on commit b9f931c

Please sign in to comment.