mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge b972913c33 into merged_master (Bitcoin PR bitcoin-core/gui#188)
This commit is contained in:
commit
4135bed184
2 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ void PSBTOperationsDialog::saveTransaction() {
|
|||
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();
|
||||
showStatus(tr("PSBT saved to disk."), StatusLevel::INFO);
|
||||
|
|
|
|||
|
|
@ -442,7 +442,7 @@ void SendCoinsDialog::on_sendButton_clicked()
|
|||
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", CClientUIInterface::MSG_INFORMATION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue