Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
itegulov committed May 23, 2022
1 parent 66a54b6 commit 31f9b6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ test.beforeEach(async t => {

// Deploy fungible token contract
const nftContract = await root.createSubAccount('fungible-token');
let ftContractBase64 = (await readFile('build/contract.base64')).toString();
await nftContract.call(jsvm, 'deploy_js_contract', Buffer.from(ftContractBase64, 'base64'), { attachedDeposit: '400000000000000000000000' });
let nftContractBase64 = (await readFile('build/contract.base64')).toString();
await nftContract.call(jsvm, 'deploy_js_contract', Buffer.from(nftContractBase64, 'base64'), { attachedDeposit: '400000000000000000000000' });
await nftContract.call(jsvm, 'call_js_contract', encodeCall(nftContract.accountId, 'init', [nftContract.accountId, 'prefix']), { attachedDeposit: '400000000000000000000000' });

// Deploy token receiver contract
Expand Down

0 comments on commit 31f9b6c

Please sign in to comment.