We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb32328 commit bb5ea1dCopy full SHA for bb5ea1d
src/qt/walletframe.cpp
@@ -212,7 +212,7 @@ void WalletFrame::gotoLoadPSBT(bool from_clipboard)
212
return;
213
}
214
std::ifstream in{filename.toLocal8Bit().data(), std::ios::binary};
215
- data.assign(std::istream_iterator<unsigned char>{in}, {});
+ data.assign(std::istreambuf_iterator<char>{in}, {});
216
217
// Some psbt files may be base64 strings in the file rather than binary data
218
std::string b64_str{data.begin(), data.end()};
0 commit comments