mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
Merge be254ccb19 into 7c9032dff6
This commit is contained in:
commit
db2bbc8656
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ func (hub *Hub) refreshWallets() {
|
|||
for len(hub.wallets) > 0 {
|
||||
// Abort if we're past the current device and found an operational one
|
||||
_, failure := hub.wallets[0].Status()
|
||||
if hub.wallets[0].URL().Cmp(url) >= 0 || failure == nil {
|
||||
if hub.wallets[0].URL().Cmp(url) >= 0 && failure == nil {
|
||||
break
|
||||
}
|
||||
// Drop the stale and failed devices
|
||||
|
|
|
|||
Loading…
Reference in a new issue