Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteenkamp89 committed Jan 3, 2025
1 parent b6d63c0 commit ae2361d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/relay/_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export function encodeCalldataForRelayRequest(request: RelayRequest) {
encodedCalldata = encodeDepositWithAuthCalldata({
...request.methodNameAndArgs.args,
validAfter: Number(request.methodNameAndArgs.args.validAfter),
validBefore: Number(request.methodNameAndArgs.args.validAfter),
validBefore: Number(request.methodNameAndArgs.args.validBefore),
nonce: request.methodNameAndArgs.args.nonce,
receiveWithAuthSignature: request.signatures.permit,
depositDataSignature: request.signatures.deposit,
Expand All @@ -332,7 +332,7 @@ export function encodeCalldataForRelayRequest(request: RelayRequest) {
encodedCalldata = encodeSwapAndBridgeWithAuthCalldata({
...request.methodNameAndArgs.args,
validAfter: Number(request.methodNameAndArgs.args.validAfter),
validBefore: Number(request.methodNameAndArgs.args.validAfter),
validBefore: Number(request.methodNameAndArgs.args.validBefore),
nonce: request.methodNameAndArgs.args.nonce,
receiveWithAuthSignature: request.signatures.permit,
depositDataSignature: request.signatures.deposit,
Expand Down

0 comments on commit ae2361d

Please sign in to comment.