Explorar o código

accounts/usbwallet: fix a comment typo in trezor driver (#19535)

Guillaume Ballet %!s(int64=6) %!d(string=hai) anos
pai
achega
9b831d74fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      accounts/usbwallet/trezor.go

+ 1 - 1
accounts/usbwallet/trezor.go

@@ -85,7 +85,7 @@ func (w *trezorDriver) Status() (string, error) {
 // Open implements usbwallet.driver, attempting to initialize the connection to
 // the Trezor hardware wallet. Initializing the Trezor is a two or three phase operation:
 //  * The first phase is to initialize the connection and read the wallet's
-//    features. This phase is invoked is the provided passphrase is empty. The
+//    features. This phase is invoked if the provided passphrase is empty. The
 //    device will display the pinpad as a result and will return an appropriate
 //    error to notify the user that a second open phase is needed.
 //  * The second phase is to unlock access to the Trezor, which is done by the