Skip to content

Commit

Permalink
refactor: better error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Aug 23, 2023
1 parent 30a479b commit e6f57c0
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ export class AztecRPCServer implements AztecRPC {
this.synchroniser.addAccount(pubKey, this.keyStore);
this.log.info(`Added account: ${completeAddress.toReadableString()}`);
} else {
this.log.info(
`Skipped adding account "${completeAddress.toReadableString()}" because he/she was registered before.`,
);
this.log.info(`Account "${completeAddress.toReadableString()}" already registered.`);
}
}

Expand All @@ -125,7 +123,7 @@ export class AztecRPCServer implements AztecRPC {
if (wasAdded) {
this.log.info(`Added recipient: ${recipient.toReadableString()}`);
} else {
this.log.info(`Skipped adding recipient "${recipient.toReadableString()}" because he/she was registered before.`);
this.log.info(`Recipient "${recipient.toReadableString()}" already registered.`);
}
}

Expand Down

0 comments on commit e6f57c0

Please sign in to comment.