mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
refactor: Drop CDataStream constructors in favor of one taking a Span of bytes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user