Skip to content

Commit 9af368f

Browse files
committed
fix hardhat.config.js
1 parent 91f97f3 commit 9af368f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

basic/08-hardhat-graph/hardhat.config.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@ require('dotenv').config();
55
const PRIVATE_KEY = process.env.PRIVATE_KEY;
66
const defaultNetwork = 'localhost';
77

8-
function mnemonic() {
9-
// try {
10-
// return fs.readFileSync('./mnemonic.txt').toString().trim();
11-
// } catch (e) {
12-
// if (defaultNetwork !== 'localhost') {
13-
// console.log('☢️ WARNING: No mnemonic file created for a deploy account.');
14-
// }
15-
// }
16-
return PRIVATE_KEY
17-
}
18-
198
// You need to export an object to set up your config
209
// Go to https://hardhat.org/config/ to learn more
2110
module.exports = {

0 commit comments

Comments
 (0)