|
|
|
@ -305,11 +305,11 @@ func startNode(ctx *cli.Context, stack *node.Node) { |
|
|
|
|
status, _ := event.Wallet.Status() |
|
|
|
|
log.Info("New wallet appeared", "url", event.Wallet.URL(), "status", status) |
|
|
|
|
|
|
|
|
|
derivationPath := accounts.DefaultBaseDerivationPath |
|
|
|
|
if event.Wallet.URL().Scheme == "ledger" { |
|
|
|
|
event.Wallet.SelfDerive(accounts.DefaultLedgerBaseDerivationPath, stateReader) |
|
|
|
|
} else { |
|
|
|
|
event.Wallet.SelfDerive(accounts.DefaultBaseDerivationPath, stateReader) |
|
|
|
|
derivationPath = accounts.DefaultLedgerBaseDerivationPath |
|
|
|
|
} |
|
|
|
|
event.Wallet.SelfDerive(derivationPath, stateReader) |
|
|
|
|
|
|
|
|
|
case accounts.WalletDropped: |
|
|
|
|
log.Info("Old wallet dropped", "url", event.Wallet.URL()) |
|
|
|
|