Anton Kaliaev b25aa3b472 [common] do not create {filePath}.bak in WriteFileAtomic
We use WriteFileAtomic in two places:

```
p2p/addrbook.go
338:    err = cmn.WriteFileAtomic(filePath, jsonBytes, 0644)

types/priv_validator.go
162:    err = WriteFileAtomic(privVal.filePath, jsonBytes, 0600)
```

and we don't need .bak in any of the above. We save priv_validator every
10ms and addrbook every 2 min.
2017-07-28 11:40:21 -04:00
2017-06-23 22:21:36 -04:00
2017-04-18 16:33:27 -04:00
2017-04-18 17:56:05 -04:00
2017-05-23 23:06:20 +02:00
2017-04-21 16:04:58 -04:00
2017-04-18 17:56:05 -04:00
2017-04-18 17:56:05 -04:00
2017-06-16 11:40:14 -04:00
2017-05-01 11:30:24 -04:00
2017-05-05 21:52:01 +04:00
2017-04-18 17:56:05 -04:00
Description
No description provided
Apache-2.0 395 MiB
Languages
Go 85.9%
TeX 7.2%
TLA 4.9%
Shell 0.6%
Python 0.5%
Other 0.8%