Skip to content

Commit 79d8e70

Browse files
author
Simon Goldberg
committed
fix file path
1 parent 0795d9d commit 79d8e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bitcoin-core/generateRPCAuth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function genRpcAuth(username = genUser(), password = genPass(), salt = genSalt()
3636
}
3737

3838
function writeRpcAuthToConf(rpcauthStr) {
39-
const confPath = 'lib/bitcoin-core/lib/bitcoin.conf';
39+
const confPath = 'lib/bitcoin.conf';
4040
try {
4141
fs.writeFileSync(confPath, rpcauthStr + '\n', { flag: 'a' });
4242
console.log(`Successfully wrote to ${confPath}`);

0 commit comments

Comments
 (0)