We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56ae522 commit 44c13b9Copy full SHA for 44c13b9
packages/gas-station/src/policyUtils.ts
@@ -108,9 +108,7 @@ export function buildIntentSigningPolicy(config: {
108
// Build OR conditions for each allowed contract
109
// Convert to lowercase for case-insensitive comparison
110
const contractConditions = config.restrictions.allowedContracts
111
- .map(
112
- (c) => `eth.eip_712.message['to'] == '${c.toLowerCase()}'`,
113
- )
+ .map((c) => `eth.eip_712.message['to'] == '${c.toLowerCase()}'`)
114
.join(" || ");
115
conditions.push(`(${contractConditions})`);
116
}
0 commit comments