Skip to content

Commit

Permalink
fix err shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
nullun committed Nov 26, 2024
1 parent ae2a84e commit 984f9d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/goal/clerk.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,9 @@ var sendCmd = &cobra.Command{
Args: programArgs,
},
}
var authAddr basics.Address
if signerAddress != "" {
var authAddr, err = basics.UnmarshalChecksumAddress(signerAddress)
authAddr, err = basics.UnmarshalChecksumAddress(signerAddress)
if err != nil {
reportErrorf("Signer invalid (%s): %v", signerAddress, err)

Check warning on line 484 in cmd/goal/clerk.go

View check run for this annotation

Codecov / codecov/patch

cmd/goal/clerk.go#L480-L484

Added lines #L480 - L484 were not covered by tests
}
Expand Down

0 comments on commit 984f9d8

Please sign in to comment.