Resolve Misc DeepSource Lint Issues (#8711)

This commit is contained in:
Raul Jordan 2021-04-05 14:37:25 -05:00 committed by GitHub
parent dfe5372db5
commit 0a2f3e4d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 7 deletions

View File

@ -181,11 +181,7 @@ func (r *testRunner) run() {
if !config.TestSync {
return nil
}
if err := r.testBeaconChainSync(ctx, g, conns, tickingStartTime, bootNode.ENR()); err != nil {
return err
}
return nil
return r.testBeaconChainSync(ctx, g, conns, tickingStartTime, bootNode.ENR())
})
if err := g.Wait(); err != nil && !errors.Is(err, context.Canceled) {

View File

@ -28,7 +28,7 @@ export xargs=$(which gxargs || which xargs)
# Validate settings.
[ "$TRACE" ] && set -x
CONFIG=$@
CONFIG=$*
for line in $CONFIG; do
eval "$line"

View File

@ -118,7 +118,7 @@ func spreadKeysAcrossImportedWallets(
privKeys [][]byte,
numWallets,
keysPerWallet int,
walletOutputDir string,
walletOutputDir,
walletPassword string,
) error {
ctx := context.Background()