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

Commit

Permalink
Fix up connect
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Nov 5, 2019
1 parent ddcc320 commit aad11c3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ exports.clean = async function() {
console.log('Clean complete.');
};

async function connect(options) {
const keyStore = new UnencryptedFileSystemKeyStore('./neardev');
options.deps = {
keyStore,
};
// TODO: search for key store.
return await nearjs.connect(options);
}

exports.createAccount = async function(options) {
let near = await connect(options);
let keyPair;
Expand Down

0 comments on commit aad11c3

Please sign in to comment.