[FIX] removed strlen for coin address
not needed because we check against coindaemon
This commit is contained in:
parent
25172b27c6
commit
ff677348be
@ -741,10 +741,6 @@ class User extends Base {
|
|||||||
$this->setErrorMessage('Username exceeding character limit');
|
$this->setErrorMessage('Username exceeding character limit');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (strlen($coinaddress) < 35) {
|
|
||||||
$this->setErrorMessage('Coin Address is to short');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (!$this->bitcoin->validateaddress($coinaddress)) {
|
if (!$this->bitcoin->validateaddress($coinaddress)) {
|
||||||
$this->setErrorMessage('Coin address is not valid');
|
$this->setErrorMessage('Coin address is not valid');
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user