Skip to content

Commit b2b077e

Browse files
committed
Revert some changes
1 parent 6c1b0ea commit b2b077e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

seth/contract_store.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ func (c *ContractStore) GetABI(name string) (*abi.ABI, bool) {
4242

4343
abi, ok := c.ABIs[name]
4444
return &abi, ok
45-
}g
45+
}
4646

4747
func (c *ContractStore) GetAllABIs() []*abi.ABI {
4848
c.mu.Lock()
4949
defer c.mu.Unlock()
5050

5151
var allABIs []*abi.ABI
5252
for _, a := range c.ABIs {
53-
alias := a
54-
allABIs = append(allABIs, &alias)
53+
aCopy := a //nolint
54+
allABIs = append(allABIs, &aCopy)
5555
}
5656

5757
return allABIs

tools/flakeguard/runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ type exitCoder interface {
9595

9696
// runTests runs the tests for a given package and returns the path to the output file.
9797
func (r *Runner) runTests(packageName string) (string, bool, error) {
98-
args := []string{"test", packageName, "-json", "-count=1", "-ldflags=-w -s"}
98+
args := []string{"test", packageName, "-json", "-count=1"}
9999
if r.UseRace {
100100
args = append(args, "-race")
101101
}

0 commit comments

Comments
 (0)