Skip to content

Commit

Permalink
removing public decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
rh0delta committed Aug 26, 2024
1 parent cc5d2ab commit 5b44301
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/common/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,27 +89,27 @@ export class EntropyLogger {
}

// maps to winston:error
public error (description: string, error: Error, context?: string): void {
error (description: string, error: Error, context?: string): void {
this.writeLogMsg('error', error?.message || error, context, description, error.stack);
}

// maps to winston:info
public log (message: any, context?: string): void {
log (message: any, context?: string): void {
this.writeLogMsg('info', message, context);
}

// maps to winston:warn
public warn (message: any, context?: string): void {
warn (message: any, context?: string): void {
this.writeLogMsg('warn', message, context);
}

// maps to winston:debug
public debug (message: any, context?: string): void {
debug (message: any, context?: string): void {
this.writeLogMsg('debug', message, context);
}

// maps to winston:verbose
public verbose (message: any, context?: string): void {
verbose (message: any, context?: string): void {
this.writeLogMsg('verbose', message, context);
}

Expand Down
2 changes: 1 addition & 1 deletion src/flows/entropyFaucet/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class FaucetSigner implements Signer {
this.chosenVerifyingKey = chosenVerifyingKey
}

public async signPayload (payload: SignerPayloadJSON): Promise<SignerResult> {
async signPayload (payload: SignerPayloadJSON): Promise<SignerResult> {
// toU8a(true) is important as it strips the scale encoding length prefix from the payload
// without it transactions will fail
// ref: https://github.com/polkadot-js/api/issues/4446#issuecomment-1013213962
Expand Down

0 comments on commit 5b44301

Please sign in to comment.