瀏覽代碼

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

Guillaume Ballet 6 年之前
父節點
當前提交
9b831d74fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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