mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-07 20:43:57 -05:00
Resolve Misc DeepSource Lint Issues (#8711)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -28,7 +28,7 @@ export xargs=$(which gxargs || which xargs)
|
||||
# Validate settings.
|
||||
[ "$TRACE" ] && set -x
|
||||
|
||||
CONFIG=$@
|
||||
CONFIG=$*
|
||||
|
||||
for line in $CONFIG; do
|
||||
eval "$line"
|
||||
|
||||
@@ -118,7 +118,7 @@ func spreadKeysAcrossImportedWallets(
|
||||
privKeys [][]byte,
|
||||
numWallets,
|
||||
keysPerWallet int,
|
||||
walletOutputDir string,
|
||||
walletOutputDir,
|
||||
walletPassword string,
|
||||
) error {
|
||||
ctx := context.Background()
|
||||
|
||||
Reference in New Issue
Block a user