mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Resolve Misc DeepSource Lint Issues (#8711)
This commit is contained in:
parent
dfe5372db5
commit
0a2f3e4d48
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user