Remove some TODOs that have been finished.

This commit is contained in:
Josh Rickmar 2013-12-06 09:19:00 -05:00
parent 8669129917
commit b6601b1b6b

View file

@ -147,8 +147,6 @@ func (a *Account) writeDirtyToDisk() error {
} }
tmpfile.Close() tmpfile.Close()
// TODO(jrick): this should be atomic on *nix, but is not on
// Windows. Use _windows.go to provide atomic renames.
if err = Rename(tmpfilepath, utxofilepath); err != nil { if err = Rename(tmpfilepath, utxofilepath); err != nil {
return err return err
} }
@ -173,8 +171,6 @@ func (a *Account) writeDirtyToDisk() error {
} }
tmpfile.Close() tmpfile.Close()
// TODO(jrick): this should be atomic on *nix, but is not on
// Windows. Use _windows.go to provide atomic renames.
if err = Rename(tmpfilepath, txfilepath); err != nil { if err = Rename(tmpfilepath, txfilepath); err != nil {
return err return err
} }
@ -199,8 +195,6 @@ func (a *Account) writeDirtyToDisk() error {
} }
tmpfile.Close() tmpfile.Close()
// TODO(jrick): this should be atomic on *nix, but is not on
// Windows. Use _windows.go to provide atomic renames.
if err = Rename(tmpfilepath, wfilepath); err != nil { if err = Rename(tmpfilepath, wfilepath); err != nil {
return err return err
} }