hf recovery
This commit is contained in:
admin@arionum.com
2018-12-25 22:44:33 +02:00
2 changed files with 5 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ if ($q == "getAddress") {
*/
$account = $data['account'];
$public_key = san($data['public_key'] ?? '');
if (!empty($public_key) && strlen($public_key) < 32) {
api_err("Invalid public key");
}
@@ -203,6 +204,7 @@ if ($q == "getAddress") {
*/
$account = san($data['account']);
$public_key = san($data['public_key'] ?? '');
if (!empty($public_key) && strlen($public_key) < 32) {
api_err("Invalid public key");
}

3
tmp/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
*
!.gitignore
!db-update