rpc: add missing return on error when getting a tx

This commit is contained in:
moneromooo-monero 2016-01-30 13:28:12 +00:00
parent b7e37b7763
commit 6288295f8e
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -224,6 +224,7 @@ namespace cryptonote
if(b.size() != sizeof(crypto::hash))
{
res.status = "Failed, size of data mismatch";
return true;
}
vh.push_back(*reinterpret_cast<const crypto::hash*>(b.data()));
}