mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
rpc: add missing return on error when getting a tx
This commit is contained in:
parent
b7e37b7763
commit
6288295f8e
1 changed files with 1 additions and 0 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue