Skip to content

Commit

Permalink
Remove superfluous signing file warning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmisiak committed Aug 18, 2023
1 parent 29c9722 commit c1b9c01
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/commandExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,8 @@ const CommandExecutor = async () => {
if (witness !== undefined) {
txWitnessOutputs.push(constructTxWitnessOutput(era, witness))
} else {
// eslint-disable-next-line no-console,max-len
console.log(
`Warning! A superfluous HW signing file specified (${i + 1} of ${
args.hwSigningFileData.length
}), the witness was not created.`,
)
// intentionally empty, the signing file might be needed despite not generating a witness,
// e.g. staking signing file in pool registration certificates
}
}
if (txWitnessOutputs.length > args.outFiles.length) {
Expand Down

0 comments on commit c1b9c01

Please sign in to comment.