mirror of
https://github.com/monero-project/monero.git
synced 2026-01-26 14:24:27 +01:00
rpc: add missing return on error when getting a tx
This commit is contained in:
@@ -224,6 +224,7 @@ namespace cryptonote
|
|||||||
if(b.size() != sizeof(crypto::hash))
|
if(b.size() != sizeof(crypto::hash))
|
||||||
{
|
{
|
||||||
res.status = "Failed, size of data mismatch";
|
res.status = "Failed, size of data mismatch";
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
vh.push_back(*reinterpret_cast<const crypto::hash*>(b.data()));
|
vh.push_back(*reinterpret_cast<const crypto::hash*>(b.data()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user