Merge pull request #4380

53a99ca1 cn_deserialize: comment out pruned tx case (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-09-14 13:01:41 +02:00
commit 15570f9a8f
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 2 additions and 0 deletions

View File

@ -179,9 +179,11 @@ int main(int argc, char* argv[])
} }
else if (cryptonote::parse_and_validate_tx_from_blob(blob, tx) || cryptonote::parse_and_validate_tx_base_from_blob(blob, tx)) else if (cryptonote::parse_and_validate_tx_from_blob(blob, tx) || cryptonote::parse_and_validate_tx_base_from_blob(blob, tx))
{ {
/*
if (tx.pruned) if (tx.pruned)
std::cout << "Parsed pruned transaction:" << std::endl; std::cout << "Parsed pruned transaction:" << std::endl;
else else
*/
std::cout << "Parsed transaction:" << std::endl; std::cout << "Parsed transaction:" << std::endl;
std::cout << cryptonote::obj_to_json_str(tx) << std::endl; std::cout << cryptonote::obj_to_json_str(tx) << std::endl;