mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
Merge be254ccb19 into dddbaa4bf3
This commit is contained in:
commit
8f11e1b25e
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ func (hub *Hub) refreshWallets() {
|
||||||
for len(hub.wallets) > 0 {
|
for len(hub.wallets) > 0 {
|
||||||
// Abort if we're past the current device and found an operational one
|
// Abort if we're past the current device and found an operational one
|
||||||
_, failure := hub.wallets[0].Status()
|
_, 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
|
break
|
||||||
}
|
}
|
||||||
// Drop the stale and failed devices
|
// Drop the stale and failed devices
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue