Prechádzať zdrojové kódy

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

Guillaume Ballet 6 rokov pred
rodič
commit
9b831d74fb
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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