File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 12
12
#include < consensus/consensus.h>
13
13
#include < core_io.h>
14
14
#include < key_io.h>
15
+ #include < fs.h>
15
16
#include < policy/policy.h>
16
17
#include < policy/rbf.h>
17
18
#include < primitives/transaction.h>
@@ -158,7 +159,7 @@ static void RegisterLoad(const std::string& strInput)
158
159
std::string key = strInput.substr (0 , pos);
159
160
std::string filename = strInput.substr (pos + 1 , std::string::npos);
160
161
161
- FILE *f = fopen (filename.c_str (), " r" );
162
+ FILE *f = fsbridge:: fopen (filename.c_str (), " r" );
162
163
if (!f) {
163
164
std::string strErr = " Cannot open file " + filename;
164
165
throw std::runtime_error (strErr);
Original file line number Diff line number Diff line change @@ -923,7 +923,7 @@ BOOST_AUTO_TEST_CASE(script_build)
923
923
}
924
924
925
925
#ifdef UPDATE_JSON_TESTS
926
- FILE* file = fopen (" script_tests.json.gen" , " w" );
926
+ FILE* file = fsbridge:: fopen (" script_tests.json.gen" , " w" );
927
927
fputs (strGen.c_str (), file);
928
928
fclose (file);
929
929
#endif
You can’t perform that action at this time.
0 commit comments