0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

util: Fix mis-swapped prettyIndent and indentLevel arguments

This commit is contained in:
Hennadii Stepanov 2022-01-18 15:42:12 +02:00
parent d0bf9bb6a5
commit f251141483
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -112,7 +112,7 @@ bool WriteSettings(const fs::path& path,
errors.emplace_back(strprintf("Error: Unable to open settings file %s for writing", fs::PathToString(path))); errors.emplace_back(strprintf("Error: Unable to open settings file %s for writing", fs::PathToString(path)));
return false; return false;
} }
file << out.write(/* prettyIndent= */ 1, /* indentLevel= */ 4) << std::endl; file << out.write(/* prettyIndent= */ 4, /* indentLevel= */ 1) << std::endl;
file.close(); file.close();
return true; return true;
} }