change failed claim from preventing tx save

This commit is contained in:
Akinwale Ariwodola 2017-06-15 23:34:50 +01:00
parent 78f51e89b4
commit e5d40c7b8c

View file

@ -748,7 +748,6 @@ class BlockShell extends Shell {
if ($claim['ClaimType'] == 2 && !$claim_stream_data) { if ($claim['ClaimType'] == 2 && !$claim_stream_data) {
echo "***claim stream data missing for streamType claim\n"; echo "***claim stream data missing for streamType claim\n";
$data_error = true;
break; break;
} }
@ -757,7 +756,6 @@ class BlockShell extends Shell {
if (!$res) { if (!$res) {
echo "***claim could not be saved.\n"; echo "***claim could not be saved.\n";
$data_error = true;
break; break;
} }
@ -767,7 +765,6 @@ class BlockShell extends Shell {
$res = $this->ClaimStreams->save($claim_stream_entity); $res = $this->ClaimStreams->save($claim_stream_entity);
if (!$res) { if (!$res) {
echo "***claim stream could not be saved.\n"; echo "***claim stream could not be saved.\n";
$data_error = true;
} }
} }
} }