Blocked claims #81
1 changed files with 2 additions and 0 deletions
|
@ -989,12 +989,14 @@ class MainController extends AppController {
|
||||||
$parts = explode(':', $outpoint);
|
$parts = explode(':', $outpoint);
|
||||||
if ($claim->transaction_hash_id == $parts[0] && $claim->vout == $parts[1]) {
|
if ($claim->transaction_hash_id == $parts[0] && $claim->vout == $parts[1]) {
|
||||||
$claimIsBlocked = true;
|
$claimIsBlocked = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if the publisher (channel) is blocked
|
// check if the publisher (channel) is blocked
|
||||||
// block the channel if that's the case
|
// block the channel if that's the case
|
||||||
if ($claimChannel && $claimChannel->transaction_hash_id == $parts[0] && $claimChannel->vout == $parts[1]) {
|
if ($claimChannel && $claimChannel->transaction_hash_id == $parts[0] && $claimChannel->vout == $parts[1]) {
|
||||||
$claimIsBlocked = true;
|
$claimIsBlocked = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue