Merge pull request #37 from pxgamer/bugfix/public-key-transactions

Add missing public_key to getPendingBalance
This commit is contained in:
arionum
2018-11-13 12:21:56 +02:00
committed by GitHub

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");
}