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:
parent
82f2067ac4
commit
97e1442e8d
1 changed files with 0 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue