diff options
Diffstat (limited to 'accounts/accounts.go')
-rw-r--r-- | accounts/accounts.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/accounts/accounts.go b/accounts/accounts.go index 5872bb4a3..76951e1a4 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -42,8 +42,9 @@ type Wallet interface { URL() URL // Status returns a textual status to aid the user in the current state of the - // wallet. - Status() string + // wallet. It also returns an error indicating any failure the wallet might have + // encountered. + Status() (string, error) // Open initializes access to a wallet instance. It is not meant to unlock or // decrypt account keys, rather simply to establish a connection to hardware |