Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
  • Loading branch information
georgi-l95 committed Apr 3, 2024
1 parent b6f9d2a commit b4f1c6c
Show file tree
Hide file tree
Showing 2 changed files with 530 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/relay/src/lib/precheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ export class Precheck {
* @param {Transaction} tx - The transaction.
* @param {number} accountInfoNonce - The nonce of the account.
* @param {string} [requestId] - The request ID.
* @returns {Promise<void>} A Promise.
*/
async nonce(tx: Transaction, accountInfoNonce: number, requestId?: string): Promise<void> {
nonce(tx: Transaction, accountInfoNonce: number, requestId?: string): void {
const requestIdPrefix = formatRequestIdMessage(requestId);
this.logger.trace(
`${requestIdPrefix} Nonce precheck for sendRawTransaction(tx.nonce=${tx.nonce}, accountInfoNonce=${accountInfoNonce})`,
Expand Down Expand Up @@ -191,9 +190,8 @@ export class Precheck {
* @param {Transaction} tx - The transaction.
* @param {any} account - The account information.
* @param {string} [requestId] - The request ID.
* @returns {Promise<void>} A Promise.
*/
async balance(tx: Transaction, account: any, requestId?: string): Promise<void> {
balance(tx: Transaction, account: any, requestId?: string): void {
const requestIdPrefix = formatRequestIdMessage(requestId);
const result = {
passes: false,
Expand Down

0 comments on commit b4f1c6c

Please sign in to comment.