Skip to content

Commit

Permalink
fix: type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch committed Jan 29, 2025
1 parent 8ef84e1 commit b52ffd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/ethereum/src/contracts/forwarder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class ForwarderContract {
) {
requests = requests.filter(request => request.to !== null);
const toArgs = requests.map(request => request.to!);
const dataArgs = requests.map(request => request.data);
const dataArgs = requests.map(request => request.data!);
const data = encodeFunctionData({
abi: ForwarderAbi,
functionName: 'forward',
Expand Down

0 comments on commit b52ffd1

Please sign in to comment.