Skip to content

Commit 0cd249d

Browse files
committed
fix: lint
1 parent bd3d4ec commit 0cd249d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/IthacaAccount.sol

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,11 @@ contract IthacaAccount is IIthacaAccount, EIP712, GuardedExecutor {
478478
)
479479
);
480480
}
481-
bytes32 structHash = EfficientHashLib.hash(
482-
uint256(EXECUTE_TYPEHASH), uint256(a.hash()), nonce
483-
);
484-
return nonce >> 240 == MULTICHAIN_NONCE_PREFIX ? _hashTypedDataSansChainId(structHash) : _hashTypedData(structHash);
481+
bytes32 structHash =
482+
EfficientHashLib.hash(uint256(EXECUTE_TYPEHASH), uint256(a.hash()), nonce);
483+
return nonce >> 240 == MULTICHAIN_NONCE_PREFIX
484+
? _hashTypedDataSansChainId(structHash)
485+
: _hashTypedData(structHash);
485486
}
486487

487488
function validateSignatureAndNonce(bytes32 digest, uint256 nonce, bytes calldata signature)

0 commit comments

Comments
 (0)