Skip to content

Commit 20a6a29

Browse files
committed
Updated test.yml
1 parent 4085361 commit 20a6a29

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
run: |
2525
forge --version
2626
27-
- name: Run Forge fmt
28-
run: |
29-
forge fmt --check
30-
id: fmt
27+
# - name: Run Forge fmt
28+
# run: |
29+
# forge fmt --check
30+
# id: fmt
3131

3232
- name: Run Forge build
3333
run: |

src/SmartnodesDAO.sol

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,7 @@ contract SmartnodesDAO is ReentrancyGuard {
210210
// execute stored calls (revert if any call fails)
211211
uint256 len = p.targets.length;
212212
for (uint256 i = 0; i < len; ++i) {
213-
(bool ok, bytes memory returndata) = p.targets[i].call{value: 0}(
214-
p.calldatas[i]
215-
);
213+
(bool ok, ) = p.targets[i].call{value: 0}(p.calldatas[i]);
216214
if (!ok) {
217215
// bubble up revert reason if present
218216
revert SmartnodesDAO__ExecutionFailed(i);

0 commit comments

Comments
 (0)