Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: 8bc6eee32c07567e8e5ff8ff6a5ef0552736edb0
      
https://github.com/conformal/btcwallet/commit/8bc6eee32c07567e8e5ff8ff6a5ef0552736edb0
  Author: Josh Rickmar <[email protected]>
  Date:   2014-08-06 (Wed, 06 Aug 2014)

  Changed paths:
    M keystore/keystore.go

  Log Message:
  -----------
  Begin with root key index when reading keystores.

Instead of using the zero value, explicitly set the last chain index
to -1, which represents the root key.  If no additional keys are read
from the io.Reader, this could result in panics when looking up keys
at index 0, when no additional keys have been created yet.

Fixes #119.


Reply via email to