Skip to content

Commit

Permalink
refactor(NoClient): method name
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscotobar committed Jul 15, 2024
1 parent f7de0d1 commit f525378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils/NoClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export const getEnvelopingRequestDetails = async ({
const tokenAmount =
(await envelopingRequest.request.tokenAmount)?.toString() ?? constants.Zero;

if (isContractCallInvalid(to, data, value)) {
if (isCallInvalid(to, data, value)) {
throw new Error('Contract execution needs data or value to be sent.');
}

Expand Down Expand Up @@ -463,7 +463,7 @@ export const getEnvelopingRequestDetails = async ({
return completeRequest;
};

const isContractCallInvalid = (
const isCallInvalid = (
to: string,
data: BytesLike,
value: BigNumberish
Expand Down

0 comments on commit f525378

Please sign in to comment.