Skip to content

Commit

Permalink
updated tradingFunctions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshowlett977 committed Apr 19, 2021
1 parent 2faa056 commit 08e4156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests-js/loan-token/tradingFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ process:
*/
const margin_trading_sending_loan_tokens = async (accounts, sovryn, loanToken, underlyingToken, collateralToken, priceFeeds, sendValue) => {
// preparation
const loan_token_sent = oneEth;
const loan_token_sent = oneEth.mul(new BN(10));
await underlyingToken.mint(loanToken.address, loan_token_sent.mul(new BN(3)));
await underlyingToken.mint(accounts[0], loan_token_sent);
await underlyingToken.approve(loanToken.address, loan_token_sent);
Expand Down Expand Up @@ -120,7 +120,7 @@ const margin_trading_sending_loan_tokens = async (accounts, sovryn, loanToken, u

const margin_trading_sov_reward_payment = async (accounts, loanToken, underlyingToken, collateralToken, SOV, FeesEvents) => {
// preparation
const loan_token_sent = oneEth;
const loan_token_sent = oneEth.mul(new BN(10));
await underlyingToken.mint(loanToken.address, loan_token_sent.mul(new BN(3)));
const trader = accounts[0];
await underlyingToken.mint(trader, loan_token_sent);
Expand Down

0 comments on commit 08e4156

Please sign in to comment.