Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13711068
D11984.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
598 B
Subscribers
None
D11984.diff
View Options
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
--- a/src/qt/sendcoinsdialog.cpp
+++ b/src/qt/sendcoinsdialog.cpp
@@ -466,7 +466,8 @@
if (filename.isEmpty()) {
return;
}
- std::ofstream out(filename.toLocal8Bit().data());
+ std::ofstream out(filename.toLocal8Bit().data(),
+ std::ofstream::out | std::ofstream::binary);
out << ssTx.str();
out.close();
Q_EMIT message(tr("PSBT saved"), "PSBT saved to disk",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 10:23 (5 m, 35 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5573242
Default Alt Text
D11984.diff (598 B)
Attached To
D11984: GUI: Write PSBTs to file with binary mode
Event Timeline
Log In to Comment