Skip to content

Commit

Permalink
[stylebot] Fixes for code style
Browse files Browse the repository at this point in the history
  • Loading branch information
robotoer authored and github-actions[bot] committed Aug 21, 2024
1 parent dd60f0f commit 87f61dd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/mock-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ export type MockContractController = {
) => Promise<void>;
};

export const calculateFnSigHash = (call:
MockRevertExpectation<AbiFunction> |
MockReadCallExpectation<AbiFunction> |
MockWriteCallExpectation<AbiFunction>
export const calculateFnSigHash = (
call:
| MockRevertExpectation<AbiFunction>
| MockReadCallExpectation<AbiFunction>
| MockWriteCallExpectation<AbiFunction>,
) => {
if (call.inputs === undefined || call.inputs === null) {
return toFunctionHash(call.abi);
Expand Down

0 comments on commit 87f61dd

Please sign in to comment.