Skip to content

Commit ff67734

Browse files
committed
[FIX] removed strlen for coin address
not needed because we check against coindaemon
1 parent 25172b2 commit ff67734

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/classes/user.class.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,10 +741,6 @@ public function register($username, $coinaddress, $password1, $password2, $pin,
741741
$this->setErrorMessage('Username exceeding character limit');
742742
return false;
743743
}
744-
if (strlen($coinaddress) < 35) {
745-
$this->setErrorMessage('Coin Address is to short');
746-
return false;
747-
}
748744
if (!$this->bitcoin->validateaddress($coinaddress)) {
749745
$this->setErrorMessage('Coin address is not valid');
750746
return false;

0 commit comments

Comments
 (0)