Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: 54355f16e752e2741c2877b1398660d7b40d602e
      
https://github.com/conformal/btcwallet/commit/54355f16e752e2741c2877b1398660d7b40d602e
  Author: Josh Rickmar <[email protected]>
  Date:   2014-01-17 (Fri, 17 Jan 2014)

  Changed paths:
    M wallet/wallet.go

  Log Message:
  -----------
  Return meaningful errors for locked wallets.

This change adds a check for a valid (32-byte length) secret before
attempting to encrypt or decrypt any addresses.  If the check fails, a
meaningful error (ErrWalletLocked) is returned to the caller, rather
than an error out of the aes package.


Reply via email to