diff --git a/disksync.go b/disksync.go index f19a28d..26e9d54 100644 --- a/disksync.go +++ b/disksync.go @@ -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