Skip to content

Commit

Permalink
Merge pull request #635 from iron-fish/miners-mined-fix
Browse files Browse the repository at this point in the history
Adjust text on miners:mined
  • Loading branch information
deekerno authored and NullSoldier committed Dec 8, 2021
1 parent da93d70 commit 2a12fe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ironfish-cli/src/commands/miners/mined.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ export class MinedCommand extends IronfishCommand {
const { args } = this.parse(MinedCommand)
const client = await this.sdk.connectRpc()

this.log('Scanning for mined blocks')
this.log('Scanning for mined blocks...')

const stream = client.exportMinedStream({
start: args.start as number | null,
stop: args.stop as number | null,
})

const { start, stop } = await AsyncUtils.first(stream.contentStream())
this.log(`Exporting mined block from ${start} -> ${stop}`)
this.log(`Scanning for mined blocks from ${start} -> ${stop}`)

const speed = new Meter()

const progress = cli.progress({
format:
'Exporting blocks: [{bar}] {value}/{total} {percentage}% | ETA: {estimate} | SEQ {sequence}',
'Scanning blocks: [{bar}] {value}/{total} {percentage}% | ETA: {estimate} | SEQ {sequence}',
}) as ProgressBar

speed.start()
Expand Down

0 comments on commit 2a12fe9

Please sign in to comment.