diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-23 18:53:44 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-11-23 21:19:22 +0100 |
commit | fa8bdb048e65cae2d26bea3f991717a856e2fb39 (patch) | |
tree | c29e6b49aef28d00725ae4477de2f4b7c5bdf1ca /src/qt/recentrequeststablemodel.cpp | |
parent | faa96f841fe45bc49ebb6e07ac82a129fa9c40bf (diff) |
refactor: Drop CDataStream constructors in favor of one taking a Span of bytes
Diffstat (limited to 'src/qt/recentrequeststablemodel.cpp')
-rw-r--r-- | src/qt/recentrequeststablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/recentrequeststablemodel.cpp b/src/qt/recentrequeststablemodel.cpp index 3e20368a36..b11a1ced00 100644 --- a/src/qt/recentrequeststablemodel.cpp +++ b/src/qt/recentrequeststablemodel.cpp @@ -179,7 +179,7 @@ void RecentRequestsTableModel::addNewRequest(const SendCoinsRecipient &recipient // called from ctor when loading from wallet void RecentRequestsTableModel::addNewRequest(const std::string &recipient) { - std::vector<char> data(recipient.begin(), recipient.end()); + std::vector<uint8_t> data(recipient.begin(), recipient.end()); CDataStream ss(data, SER_DISK, CLIENT_VERSION); RecentRequestEntry entry; |