Remove exported Version func from wallet package.

This function was not implemented (returning zero values) and all
versioning is handled internally by the wallet's ReadFrom and WriteTo
functions.  If the read wallet does not match the latest file version,
it is read in the old format, but always written back with the new
format.
This commit is contained in:
Josh Rickmar 2014-01-17 09:43:23 -05:00
parent 82f2067ac4
commit 97e1442e8d

View file

@ -827,11 +827,6 @@ func (w *Wallet) IsLocked() bool {
return len(w.secret) != 32
}
// Version returns a wallet's version as a string and int.
func (w *Wallet) Version() (string, int) {
return "", 0
}
// NextChainedAddress attempts to get the next chained address.
// If there are addresses available in the keypool, the next address
// is used. If not and the wallet is unlocked, the keypool is extended.