bitcoin/bitcoin — pull request #4546 by sipa (2014-07-16 19:47:39+00:00)
Title: Make sure CAutoFile for fees estimate goes out of scope

A CAutoFile is opened for the fees estimate, but it is only flushed/closed when the function ends. We can do that much earlier.

Also, avoid an assignment where a direct construction is possible.