Remove unused variable.
This commit is contained in:
parent
7dd7cffbe9
commit
6f022e23cc
1 changed files with 0 additions and 5 deletions
|
@ -112,11 +112,6 @@ func DirtyAccountSyncer() {
|
|||
// writeDirtyToDisk checks for the dirty flag on an account's wallet,
|
||||
// txstore, and utxostore, writing them to disk if any are dirty.
|
||||
func (a *Account) writeDirtyToDisk() error {
|
||||
// Temporary files append the current time to the normal file name.
|
||||
// In caes of failure, the most recent temporary file can be inspected
|
||||
// for validity, and moved to replace the main file.
|
||||
timeStr := fmt.Sprintf("%v", time.Now().Unix())
|
||||
|
||||
netdir := networkDir(cfg.Net())
|
||||
if err := checkCreateDir(netdir); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue