mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-20 16:48:40 +02:00
support tx request height
uint32_t -> uin64_t
This commit is contained in:
@@ -243,8 +243,9 @@ shared_ptr<MoneroTxRequest> nodeToTxRequest(const boost::property_tree::ptree& n
|
||||
else if (key == string("txIds")) for (boost::property_tree::ptree::const_iterator it2 = it->second.begin(); it2 != it->second.end(); ++it2) txRequest->txIds.push_back(it2->second.data());
|
||||
else if (key == string("hasPaymentId")) txRequest->hasPaymentId = stringToBool(it->second.data());
|
||||
else if (key == string("paymentIds")) for (boost::property_tree::ptree::const_iterator it2 = it->second.begin(); it2 != it->second.end(); ++it2) txRequest->paymentIds.push_back(it2->second.data());
|
||||
else if (key == string("minHeight")) txRequest->minHeight = it->second.get_value<uint32_t>();
|
||||
else if (key == string("maxHeight")) txRequest->maxHeight = it->second.get_value<uint32_t>();
|
||||
else if (key == string("height")) txRequest->height = it->second.get_value<uint64_t>();
|
||||
else if (key == string("minHeight")) txRequest->minHeight = it->second.get_value<uint64_t>();
|
||||
else if (key == string("maxHeight")) txRequest->maxHeight = it->second.get_value<uint64_t>();
|
||||
else if (key == string("includeOutputs")) txRequest->includeOutputs = stringToBool(it->second.data());
|
||||
else if (key == string("transferRequest")) txRequest->transferRequest = nodeToTransferRequest(it->second);
|
||||
else if (key == string("outputRequest")) txRequest->outputRequest = nodeToOutputRequest(it->second);
|
||||
|
||||
Reference in New Issue
Block a user