mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
refactor: Drop CDataStream constructors in favor of one taking a Span of bytes
This commit is contained in:
parent
faa96f841f
commit
fa8bdb048e
6 changed files with 15 additions and 33 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue