Remove unused variable.

This commit is contained in:
Josh Rickmar 2014-01-15 11:13:47 -05:00
parent 7dd7cffbe9
commit 6f022e23cc

View file

@ -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