Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Jul 18, 2024
1 parent 4ef3974 commit bd6b77e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ WalletMiddlewareOptions): JsonRpcMiddleware<any, Block> {
}

const params = req.params as [string, string];

const address = await validateAndNormalizeKeyholder(params[0], req);
const message = normalizeTypedMessage(params[1]);
validateVerifyingContract(message);
Expand Down Expand Up @@ -306,6 +307,7 @@ WalletMiddlewareOptions): JsonRpcMiddleware<any, Block> {
}

const params = req.params as [string, string];

const address = await validateAndNormalizeKeyholder(params[0], req);
const message = normalizeTypedMessage(params[1]);
validateVerifyingContract(message);
Expand Down

0 comments on commit bd6b77e

Please sign in to comment.