Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Apr 26, 2024
1 parent ac17d2a commit 7f3cf6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ WalletMiddlewareOptions): JsonRpcMiddleware<any, Block> {
throw rpcErrors.invalidInput();
}

const txParamsData = data || input
const txParamsData = data || input;
const txParams: TransactionParams & { data?: string } = {
...restParams,
...(txParamsData ? {data: txParamsData} : undefined),
...(txParamsData ? { data: txParamsData } : undefined),
from: await validateAndNormalizeKeyholder(from || '', req),
};
res.result = await processTransaction(txParams, req);
Expand Down

0 comments on commit 7f3cf6d

Please sign in to comment.