aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/config.go b/node/config.go
index d76311ba6..c864fea9c 100644
--- a/node/config.go
+++ b/node/config.go
@@ -507,6 +507,12 @@ func makeAccountManager(conf *Config) (*accounts.Manager, string, error) {
} else {
backends = append(backends, trezorhub)
}
+ // Start a USB hub for Trezor hardware wallets (WebUSB version)
+ if trezorhub, err := usbwallet.NewWebUSBTrezorHub(); err != nil {
+ log.Warn(fmt.Sprintf("Failed to start Trezor hub, disabling: %v", err))
+ } else {
+ backends = append(backends, trezorhub)
+ }
}
if len(conf.SmartCardDaemonPath) > 0 {
// Start a smart card hub