Skip to content

Commit 6829108

Browse files
committed
Fix code formatting
1 parent 1926303 commit 6829108

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/ScheduledTxModule.t.sol

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ contract ScheduledTxModuleTest is TestSafeBase {
140140
uint64 deadline = uint64(block.timestamp + 1 days);
141141
uint256 nonce = 0;
142142

143-
bytes32 structHash =
144-
keccak256(abi.encode(scheduledTxModule.PERMIT_TYPEHASH(), to, value, bytes(""), nonce, executeAfter, deadline));
143+
bytes32 structHash = keccak256(
144+
abi.encode(scheduledTxModule.PERMIT_TYPEHASH(), to, value, bytes(""), nonce, executeAfter, deadline)
145+
);
145146
bytes32 digest = keccak256(abi.encodePacked("\x19\x01", getDomainSeparator(), structHash));
146147
(uint8 v, bytes32 r, bytes32 s) = vm.sign(instance.ownerPKs[0], digest);
147148

@@ -241,8 +242,9 @@ contract ScheduledTxModuleTest is TestSafeBase {
241242
uint64 executeAfter = uint64(block.timestamp);
242243
uint64 deadline = uint64(block.timestamp + 1 days);
243244

244-
bytes32 structHash =
245-
keccak256(abi.encode(scheduledTxModule.PERMIT_TYPEHASH(), to, 1 ether, bytes(""), 0, executeAfter, deadline));
245+
bytes32 structHash = keccak256(
246+
abi.encode(scheduledTxModule.PERMIT_TYPEHASH(), to, 1 ether, bytes(""), 0, executeAfter, deadline)
247+
);
246248
bytes32 digest = keccak256(abi.encodePacked("\x19\x01", getDomainSeparator(), structHash));
247249
(uint8 v, bytes32 r, bytes32 s) = vm.sign(instance.ownerPKs[0], digest);
248250

0 commit comments

Comments
 (0)