Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Fix dev-deploy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jan 16, 2020
1 parent 4025809 commit f0c80f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/dev-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function devDeploy(options) {
const accountId = await createDevAccountIfNeeded({ ...options, near });
console.log(
`Starting deployment. Account id: ${accountId}, node: ${nodeUrl}, helper: ${helperUrl}, file: ${wasmFile}`);
const contractData = [await readFile(wasmFile)];
const contractData = await readFile(wasmFile);
const account = await near.account(accountId);
await account.deployContract(contractData);
console.log(`Done deploying to ${accountId}`);
Expand Down

0 comments on commit f0c80f1

Please sign in to comment.