mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Fix validator activation monitoring with inactive keys (#8558)
* refactor / move waiting for activation updates * Commentary * Update test to follow the full code path * gofmt and goimports * manual imports fixes * Apply suggestions from code review typo fixes * Remove redundant handleAccountsChanged and chan. Thanks @nisdas * var sub = to sub := Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"archive/zip"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
constant "github.com/prysmaticlabs/prysm/validator/testing"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@@ -21,6 +20,7 @@ import (
|
||||
"github.com/prysmaticlabs/prysm/validator/accounts/wallet"
|
||||
"github.com/prysmaticlabs/prysm/validator/keymanager"
|
||||
"github.com/prysmaticlabs/prysm/validator/keymanager/derived"
|
||||
constant "github.com/prysmaticlabs/prysm/validator/testing"
|
||||
)
|
||||
|
||||
func TestBackupAccounts_Noninteractive_Derived(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,6 @@ package accounts
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
constant "github.com/prysmaticlabs/prysm/validator/testing"
|
||||
"io/ioutil"
|
||||
"math"
|
||||
"os"
|
||||
@@ -28,6 +27,7 @@ import (
|
||||
"github.com/prysmaticlabs/prysm/validator/keymanager/derived"
|
||||
"github.com/prysmaticlabs/prysm/validator/keymanager/imported"
|
||||
"github.com/prysmaticlabs/prysm/validator/keymanager/remote"
|
||||
constant "github.com/prysmaticlabs/prysm/validator/testing"
|
||||
keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user