Add Blacklist check for addresses

This commit is contained in:
pxgamer
2018-09-14 15:49:10 +01:00
parent 975e602088
commit 49df2cf71f

View File

@@ -227,7 +227,7 @@ class Transaction
}
if ($_config['use_official_blacklist']!==false) {
if (Blacklist::checkPublicKey($x['public_key'])) {
if (Blacklist::checkPublicKey($x['public_key']) || Blacklist::checkAddress($x['src'])) {
return true;
}
}