You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6666713 refactor: Rename fs::path::u8string() to fs::path::utf8string() (MarcoFalke)
856c887 ArgsManager: return path by value from GetBlocksDirPath() (Vasil Dimov)
fa3d930 refactor: Remove pre-C++20 fs code (MarcoFalke)
fa00098 Add tests for C++20 std::u8string (MarcoFalke)
fa2bac0 refactor: Avoid copy/move in fs.h (MarcoFalke)
faea302 refactor: Use C++20 std::chrono::days (MarcoFalke)
Pull request description:
This:
* Removes dead code.
* Avoids unused copies in some places.
* Adds copies in other places for safety.
ACKs for top commit:
achow101:
ACK 6666713
ryanofsky:
Code review ACK 6666713. Just documentation change since last review.
stickies-v:
re-ACK 6666713
Tree-SHA512: 6176e44f30b310d51632ec2d3827c3819905d0ddc6a4b57acfcb6cfa1f9735176da75ee8ed4a4abd1296cb0b83bee9374cc6f91ffac87c19b63c435eeadf3f46
Copy file name to clipboardexpand all lines: src/wallet/rpc/backup.cpp
+2-2
Original file line number
Diff line number
Diff line change
@@ -734,7 +734,7 @@ RPCHelpMan dumpwallet()
734
734
* It may also avoid other security issues.
735
735
*/
736
736
if (fs::exists(filepath)) {
737
-
throwJSONRPCError(RPC_INVALID_PARAMETER, filepath.u8string() + " already exists. If you are sure this is what you want, move it out of the way first");
737
+
throwJSONRPCError(RPC_INVALID_PARAMETER, filepath.utf8string() + " already exists. If you are sure this is what you want, move it out of the way first");
0 commit comments