Skip to content

Commit

Permalink
chore: pre release changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rishkwal committed Jul 17, 2024
1 parent bc67ade commit 2961623
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/bin/bitbrew.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node --no-warnings
#!/usr/bin/env -S node --no-warnings
import { Command } from 'commander';
import figlet from 'figlet';
import chalk from 'chalk';
Expand Down Expand Up @@ -44,12 +44,12 @@ program.addCommand(LsCommand);
program.addCommand(StartCommand);
program.addCommand(StopCommand);
program.addCommand(AddCommand);
program.addCommand(CleanCommand);
program.addCommand(RemoveCommand);
program.addCommand(ExecCommand);
program.addCommand(AttachCommand);
program.addCommand(WalletCommand);
program.addCommand(SendCommand);
program.addCommand(MineCommand);
program.addCommand(CleanCommand);

program.parse(process.argv);
6 changes: 3 additions & 3 deletions src/controllers/nodeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class NodeController {
fs.mkdirSync(node.dataDir, { recursive: true });
}

const imageName = `rishkwal/bitbrew-bitcoin-core:27.0-0.1.0-alpha`;
const imageName = `rishkwal/bitbrew-bitcoind:27.0-0.1.0-alpha`;
let images = await this.dockerController.docker.listImages({
filters: { reference: [imageName] },
});
Expand Down Expand Up @@ -81,8 +81,8 @@ export class NodeController {
},
HostConfig: {
Binds: [
`${node.dataDir}:/home/bitcoin/.bitcoin`,
`${this.stateController.getWalletsDir()}:/home/bitcoin/.bitcoin/regtest/wallets`,
`${node.dataDir}:/root/.bitcoin`,
`${this.stateController.getWalletsDir()}:/root/.bitcoin/regtest/wallets`,
],
PortBindings: {
'18444/tcp': [{ HostPort: node.hostPort.toString() }],
Expand Down

0 comments on commit 2961623

Please sign in to comment.